[issue22257] PEP 432: Redesign the interpreter startup sequence

Nick Coghlan report at bugs.python.org
Fri Jun 3 20:06:24 EDT 2016


Nick Coghlan added the comment:

I merged the current 3.6 dev branch into the BitBucket PEP 432 branch in my CPython sandbox. The attached patch is the diff between that branch and CPython default.

All of the proposed changes here should only affect private APIs now, allowing this to be handled as a private refactoring with settings being migrated incrementally, rather than building up a large hard to maintain pending patch.

Donald Stufft raised the prospect of potentially using these changes to create a nicer single-file executable builder that provides an alternate binary that just runs itself - statically linking needed extension modules and then prepending the resulting binary to a zip archive with a __main__.py file should support quite a few scenarios.

I've also added Thomas Wouters to the nosy list, since Google have been looking at a range of options related to CPython startup and single file executables, which should provide a valuable perspective on the utility of these changes.

----------
keywords: +patch
nosy: +dstufft, twouters
Added file: http://bugs.python.org/file43171/pep432-startup-redesign-skeleton.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22257>
_______________________________________


More information about the Python-bugs-list mailing list