[Python-Dev] Existence of pythonNN.zip in sys.path
Nick Coghlan
ncoghlan at gmail.com
Tue May 6 00:16:05 CEST 2014
More information about the Python-Dev mailing list
Tue May 6 00:16:05 CEST 2014
- Previous message: [Python-Dev] Existence of pythonNN.zip in sys.path
- Next message: [Python-Dev] Existence of pythonNN.zip in sys.path
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 6 May 2014 07:51, "Paul Moore" <p.f.moore at gmail.com> wrote: > > On 5 May 2014 22:32, Anthony Tuininga <anthony.tuininga at gmail.com> wrote: > > So my question is: can I safely make use of this "feature"? It has remained > > in place since at least Python 2.6 but I don't want to assume anything. > > Please advise! Thanks. > > I believe this is a 100% supported feature of Python (since 2.6, as > you mention). Some of the zip import/run features have unfortunately > been underdocumented, and I suspect that this is simply one of those. sys.path initialisation in general is woefully underspecified and thoroughly confusing :( Fixing that is actually one of the motivating forces behind the proposed startup improvements in PEP 432. Cheers, Nick. > > Paul > _______________________________________________ > Python-Dev mailing list > Python-Dev at python.org > https://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: https://mail.python.org/mailman/options/python-dev/ncoghlan%40gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20140506/06b746bd/attachment.html>
- Previous message: [Python-Dev] Existence of pythonNN.zip in sys.path
- Next message: [Python-Dev] Existence of pythonNN.zip in sys.path
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list