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 Anthony Sottile
Recipients Anthony Sottile, SpecLad, eryksun, paul.moore, rmccampbell7, serhiy.storchaka, steve.dower, tim.golden, xtreak, zach.ware
Date 2020-01-22.00:13:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1579651983.59.0.92414163254.issue31405@roundup.psfhosted.org>
In-reply-to
Content
should I open a new issue for this, or is this an appropriate task to add to this discussion

shutil.which also doesn't apply `PATHEXT` when the path contains a directory separator

C:\Users\IEUser\astpretty>venv\Scripts\python --version
Python 3.7.5

C:\Users\IEUser\astpretty>venv\Scripts\python -c "import shutil; print(repr(shutil.which(r'venv\Scripts\python')))"
None

C:\Users\IEUser\astpretty>venv\Scripts\python -c "import shutil; print(repr(shutil.which(r'venv\Scripts\python.exe')))"
'venv\\Scripts\\python.exe'
History
Date User Action Args
2020-01-22 00:13:03Anthony Sottilesetrecipients: + Anthony Sottile, paul.moore, tim.golden, zach.ware, SpecLad, serhiy.storchaka, eryksun, steve.dower, rmccampbell7, xtreak
2020-01-22 00:13:03Anthony Sottilesetmessageid: <1579651983.59.0.92414163254.issue31405@roundup.psfhosted.org>
2020-01-22 00:13:03Anthony Sottilelinkissue31405 messages
2020-01-22 00:13:03Anthony Sottilecreate