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 steve.dower
Recipients eric.araujo, ncoghlan, ned.deily, paul.moore, richard, ronaldoussoren, steve.dower, takluyver, tim.golden, zach.ware
Date 2015-04-27.16:57:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1430153852.83.0.00577235373164.issue23955@psf.upfronthosting.co.za>
In-reply-to
Content
None of the other options really have much use in this case, since they're mostly about how to combine multiple environments rather than excluding implicit ones.

Setting PYTHONHOME to the current directory certainly seems to be enough AFAICT, at least for Windows, as that bypasses the most problematic registry lookup. Having an "applocal" option means we can go further and ignore all registry keys and environment variables.

I haven't looked into how to duplicate the behaviour on other OSs, but Modules/getpath.c looks similar enough to PC/getpathp.c that I guess it'll be similar. Adding the MacOS folks in case they have suggestions/concerns.
History
Date User Action Args
2015-04-27 16:57:32steve.dowersetrecipients: + steve.dower, richard, paul.moore, ronaldoussoren, ncoghlan, tim.golden, ned.deily, eric.araujo, takluyver, zach.ware
2015-04-27 16:57:32steve.dowersetmessageid: <1430153852.83.0.00577235373164.issue23955@psf.upfronthosting.co.za>
2015-04-27 16:57:32steve.dowerlinkissue23955 messages
2015-04-27 16:57:32steve.dowercreate