Message159096
This patch avoids creating a second copy of importlib._bootstrap when a first one exists as _frozen_importlib.
This isn't perfect as it mutates the module when importlib is imported for the first time, but I think it's better than the status quo.
Also, importlib itself could be imported somewhere along the startup phase, so that all this is invisible to the user.
I'm not sure how to test this, since _frozen_importlib is an implementation detail, and changing that module's name would probably defeat the test already. |
|
Date |
User |
Action |
Args |
2012-04-23 22:34:04 | pitrou | set | recipients:
+ pitrou, brett.cannon, ncoghlan |
2012-04-23 22:34:04 | pitrou | set | messageid: <1335220444.14.0.163321462904.issue14657@psf.upfronthosting.co.za> |
2012-04-23 22:34:03 | pitrou | link | issue14657 messages |
2012-04-23 22:34:03 | pitrou | create | |
|