You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When doing from repyportability import * and add_dy_support(locals()) to add Repy and dylink calls to a Python program, dylink_import_module_symbols no longer respects the usual overriding conventions. Specifically,
# Import a variable ``foo''
dy_import_module_symbols("examplelib.repy")
# Override it locally
foo = "local override"
# Importing it again should reset foo to the library's version
dy_import_module_symbols("examplelib.repy")
assert(foo != "local override")
# XXX Failed to reset!
I'll add six unit tests that document the Python / Python-with-repyportability / Repy behavior for "import x" / "from x import *" (and the corresponding dylink calls).
When doing from repyportability import * and add_dy_support(locals()) to add Repy and dylink calls to a Python program, dylink_import_module_symbols no longer respects the usual overriding conventions. Specifically,
I'll add six unit tests that document the Python / Python-with-repyportability / Repy behavior for "import x" / "from x import *" (and the corresponding dylink calls).