Message178574
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? |
|
Date |
User |
Action |
Args |
2012-12-30 13:56:59 | r.david.murray | set | recipients:
+ r.david.murray, eli.bendersky, asvetlov, danielsh |
2012-12-30 13:56:59 | r.david.murray | set | messageid: <1356875819.26.0.825139010599.issue16817@psf.upfronthosting.co.za> |
2012-12-30 13:56:59 | r.david.murray | link | issue16817 messages |
2012-12-30 13:56:59 | r.david.murray | create | |
|