Author brett.cannon
Recipients brett.cannon
Date 2013-06-10.23:24:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1370906671.79.0.329351441785.issue18114@psf.upfronthosting.co.za>
In-reply-to
Content
Forgot that PyImport_ImportFrozenModule() uses PyImport_ImportFrozenModuleObject() and the former is used to load _frozen_importlib, so can't drop the function. The code could still be updated, though, to set __package__ before the code object is executed. That probably wouldn't be too hard to do by factoring out the code in PyImport_ImportModuleLevelObject which calculates the parent there.
History
Date User Action Args
2013-06-10 23:24:31brett.cannonsetrecipients: + brett.cannon
2013-06-10 23:24:31brett.cannonsetmessageid: <1370906671.79.0.329351441785.issue18114@psf.upfronthosting.co.za>
2013-06-10 23:24:31brett.cannonlinkissue18114 messages
2013-06-10 23:24:31brett.cannoncreate