This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ronaldoussoren
Recipients Mattie, arigo, brett.cannon, georg.brandl, loewis, ronaldoussoren
Date 2013-11-14.15:46:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1384443973.71.0.0246526611474.issue1507224@psf.upfronthosting.co.za>
In-reply-to
Content
AFAIK this still is a problem, although as Brett mentioned you have to do some work to end up with a non-functional install.

I ran into this in the context of py2app, that output of py2app basically contains a "portable" python installation and users can change the value of sys.prefix by dragging the application into a different folder. When applications are launched from a folder whose name contains a colon the application currently does not launch due to this problem.

I have no idea yet as to how to cleanly the py2app problem. I'll probably end up with a symlink hack for that ;-(

It should be easy enough to provide a patch for 3.5 that uses an array of path elements instead of the raw $PYTHONPATH value, but that requires changes to Python's startup code and I'll probably just try to contribute to Nick's plans to cleanup the APIs for interpreter configuration (PEP 432) instead of providing a patch here.
History
Date User Action Args
2013-11-14 15:46:13ronaldoussorensetrecipients: + ronaldoussoren, loewis, brett.cannon, arigo, georg.brandl, Mattie
2013-11-14 15:46:13ronaldoussorensetmessageid: <1384443973.71.0.0246526611474.issue1507224@psf.upfronthosting.co.za>
2013-11-14 15:46:13ronaldoussorenlinkissue1507224 messages
2013-11-14 15:46:13ronaldoussorencreate