Message159585
| Author |
ncoghlan |
| Recipients |
Arfrever, brett.cannon, eric.araujo, eric.smith, eric.snow, lemburg, ncoghlan, pitrou |
| Date |
2012年04月29日.08:24:03 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1335687853.57.0.312121235577.issue14657@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Uploaded new bootstrapping patch that handles the fully explicit import machinery.
I also tweaked a couple of things so it plays nicely in terms of building an initial version with the checked in importlib.h. Specifically: pythonrun still calls _frozen_importlib._install and can tolerate that function returning None. Longer term, we'd give the two hooks different names and returning None will become a fatal error, but for the moment, the current behaviour makes the patch much easier to work with.
Order is still wrong relative to the zipimport machinery and I haven't benchmarked the startup time overheads. |
|