Author pitrou
Recipients brett.cannon, ncoghlan, pitrou
Date 2012-04-23.22:34:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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:04pitrousetrecipients: + pitrou, brett.cannon, ncoghlan
2012-04-23 22:34:04pitrousetmessageid: <>
2012-04-23 22:34:03pitroulinkissue14657 messages
2012-04-23 22:34:03pitroucreate