On 6 May 2014 07:51, "Paul Moore" <p.f.mo...@gmail.com> wrote: > > On 5 May 2014 22:32, Anthony Tuininga <anthony.tuini...@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@python.org > https://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: https://mail.python.org/mailman/options/python-dev/ncoghlan%40gmail.com
_______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com