On Mon, May 5, 2014 at 4:16 PM, Nick Coghlan <ncogh...@gmail.com> wrote:
> > 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. > Thanks for the link. I would tend to agree with your assessment. :-) I've had to delve into the startup code a number of times to make cx_Freeze behave itself so any help here would be much appreciated! Anthony
_______________________________________________ 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