Message236634
Is this worth fixing? Delve into the innards and you get weird behaviors. If you really need to iterate sys.modules (the example clearly doesn't, but that doesn't mean no one would), you could just copy the parts you need beforehand to get a consistent view, e.g.
for name, mod in tuple(sys.modules.items()):
Lazy module imports aren't always a bad thing if the module in question isn't needed for the common functionality, only specific subsets that may never be used. |
|
Date |
User |
Action |
Args |
2015-02-26 00:14:43 | josh.r | set | recipients:
+ josh.r, georg.brandl, BreamoreBoy, xdegaye |
2015-02-26 00:14:43 | josh.r | set | messageid: <1424909683.72.0.0298213142265.issue20703@psf.upfronthosting.co.za> |
2015-02-26 00:14:43 | josh.r | link | issue20703 messages |
2015-02-26 00:14:43 | josh.r | create | |
|