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 eryksun
Recipients eric.smith, eryksun, paul.moore, steve.dower, tim.golden, uranusjr, zach.ware
Date 2019-11-25.12:36:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1574685378.08.0.338122552664.issue38905@roundup.psfhosted.org>
In-reply-to
Content
> "running an unqualified python and expecting a PATH search to pick up
> the same executable as the parent shell would is not supported and may
> produce unexpected results"

CreateProcessW finds "python.exe" in __APPDIR__ before it even searches PATH. I expect that some scripts depend on this when python.exe isn't in PATH, or when a different version is in PATH. If subprocess implements its own search, it can continue to prioritize the *effective* application directory, from dirname(sys.executable).
History
Date User Action Args
2019-11-25 12:36:18eryksunsetrecipients: + eryksun, paul.moore, eric.smith, tim.golden, zach.ware, steve.dower, uranusjr
2019-11-25 12:36:18eryksunsetmessageid: <1574685378.08.0.338122552664.issue38905@roundup.psfhosted.org>
2019-11-25 12:36:18eryksunlinkissue38905 messages
2019-11-25 12:36:17eryksuncreate