Author brett.cannon
Recipients Anders.Hovmöller, brett.cannon, ezio.melotti, malin, michael.foord, rhettinger, serhiy.storchaka
Date 2019-04-02.18:04:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1554228276.91.0.15277331939.issue36485@roundup.psfhosted.org>
In-reply-to
Content
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).
History
Date User Action Args
2019-04-02 18:04:36brett.cannonsetrecipients: + brett.cannon, rhettinger, ezio.melotti, michael.foord, serhiy.storchaka, Anders.Hovmöller, malin
2019-04-02 18:04:36brett.cannonsetmessageid: <1554228276.91.0.15277331939.issue36485@roundup.psfhosted.org>
2019-04-02 18:04:36brett.cannonlinkissue36485 messages
2019-04-02 18:04:36brett.cannoncreate