Message206211
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()). |
|
Date |
User |
Action |
Args |
2013-12-15 02:25:41 | brett.cannon | set | recipients:
+ brett.cannon, barry, eric.smith, Arfrever, sbt |
2013-12-15 02:25:41 | brett.cannon | set | messageid: <1387074341.4.0.804382123445.issue17621@psf.upfronthosting.co.za> |
2013-12-15 02:25:41 | brett.cannon | link | issue17621 messages |
2013-12-15 02:25:41 | brett.cannon | create | |
|