◐ Shell
clean mode source ↗

Message 178574 - Python tracker

Message178574

Author r.david.murray
Recipients asvetlov, danielsh, eli.bendersky, r.david.murray
Date 2012-12-30.13:56:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1356875819.26.0.825139010599.issue16817@psf.upfronthosting.co.za>
In-reply-to
Content
Hmm.  What if we made import_fresh_module a context manager, so that the restore of the original module in sys.modules only happened at the end of the context?
History
Date User Action Args
2012-12-30 13:56:59r.david.murraysetrecipients: + r.david.murray, eli.bendersky, asvetlov, danielsh
2012-12-30 13:56:59r.david.murraysetmessageid: <1356875819.26.0.825139010599.issue16817@psf.upfronthosting.co.za>
2012-12-30 13:56:59r.david.murraylinkissue16817 messages
2012-12-30 13:56:59r.david.murraycreate