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 ncoghlan, richard, steve.dower, tim.golden, zach.ware
Date 2015-04-14.19:16:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
When Python starts running we (getpathp.c) looks in the registry for its library directory. To avoid this, you can set PYTHONPATH and PYTHONHOME environment variables, but this isn't always easy if you've copied Python into your app's directory.

We should look for a python35.ini alongside python35.dll when initializing and extract values from it. Possibly this could just be an [Environment] section with key-value pairs to set before loading.

This would ensure that app-local Python installations never look for a global install in the registry. (As an aside, for the 3.5 beta we'll be shipping an app-local "installer", which will make this situation easier to end up in, but it also has value for xcopy installs.)
Date User Action Args
2015-04-14 19:16:31steve.dowersetrecipients: + steve.dower, richard, ncoghlan, tim.golden, zach.ware
2015-04-14 19:16:30steve.dowersetmessageid: <>
2015-04-14 19:16:30steve.dowerlinkissue23955 messages
2015-04-14 19:16:30steve.dowercreate