This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author brett.cannon
Recipients Arfrever, barry, brett.cannon, eric.smith, sbt
Date 2013-12-15.02:25:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1387074341.4.0.804382123445.issue17621@psf.upfronthosting.co.za>
In-reply-to
Content
Attached is a script to verify that PEP 451 works as desired, so Python 3.5 doesn't have any technical blockers for doing a lazy loader for PEP 451 loaders.

And with __spec__.loader_state it might be possible to work things out through a common API to work around issue #18275 so that relying on super() and doing this as a mixin goes away and instead just somehow store the final loader on the spec (e.g. loader's constructor just takes a spec so that you can instantiate the actual loader, reset __loader__ & __spec__.loader, and then proceed with exec_module()).
History
Date User Action Args
2013-12-15 02:25:41brett.cannonsetrecipients: + brett.cannon, barry, eric.smith, Arfrever, sbt
2013-12-15 02:25:41brett.cannonsetmessageid: <1387074341.4.0.804382123445.issue17621@psf.upfronthosting.co.za>
2013-12-15 02:25:41brett.cannonlinkissue17621 messages
2013-12-15 02:25:41brett.cannoncreate