Message339355
Did you mean importlib.reload() instead of sys.reload()?
And technically it would *if* you're okay with the other side-effects of reloading, e.g. making sure no one has a reference to any objects from the module's namespace which won't change in-place (e.g. if you stored a reference to the cache in some code then the reload wouldn't clear it for the stored reference). |
|
Date |
User |
Action |
Args |
2019-04-02 18:04:36 | brett.cannon | set | recipients:
+ brett.cannon, rhettinger, ezio.melotti, michael.foord, serhiy.storchaka, Anders.Hovmöller, malin |
2019-04-02 18:04:36 | brett.cannon | set | messageid: <1554228276.91.0.15277331939.issue36485@roundup.psfhosted.org> |
2019-04-02 18:04:36 | brett.cannon | link | issue36485 messages |
2019-04-02 18:04:36 | brett.cannon | create | |
|