[Python-Dev] Single-file Python executables (was: Computed Goto dispatch for Python 2)

Barry Warsaw barry at python.org
Thu May 28 19:25:25 CEST 2015

On May 28, 2015, at 12:44 PM, Donald Stufft wrote:

>Pex would be improved by having native support for importing .so’s from within
>a zipfile via zipimport. It would also be improved by having good, built in
>support for extraneous resources in the stdlib too.

Completely agree on both points.  Having an API for importing .so's from a zip
would be really useful.  Today that can be implemented as "copy to tempdir"
and tomorrow the implementation could optionally dlopen_from_memory() without
any client code changing.

>Right, it would be great to get it built into Python itself, but I consider
>that less important than getting the critical pieces into Python. If those
>pieces are there then we can iterate outside of the standard library and try
>different approaches to *building* such a file, and eventually take a look at
>the landscape and bless one approach (or not, if we don’t want to).

Sounds good to me!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/python-dev/attachments/20150528/8182b9dc/attachment.sig>

More information about the Python-Dev mailing list