Message321702
It seems that a reasonable workaround (if you generate your own `spec`) is to call `spec.loader.exec_module(mod)`. This seems to reload the module into the same namespace. (I was afraid that it might replace the namespace hence the desire to use `importlib.reload()` explicitly.) |
|
Date |
User |
Action |
Args |
2018-07-16 00:32:18 | mforbes | set | recipients:
+ mforbes, brett.cannon, ned.deily, eric.snow |
2018-07-16 00:32:18 | mforbes | set | messageid: <1531701138.27.0.56676864532.issue21617@psf.upfronthosting.co.za> |
2018-07-16 00:32:18 | mforbes | link | issue21617 messages |
2018-07-16 00:32:17 | mforbes | create | |
|