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.

Title: Set PATHEXT in the Windows installer
Type: enhancement Stage: patch review
Components: Installation, Windows Versions: Python 3.4
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: loewis Nosy List: loewis, paul.moore, python-dev
Priority: normal Keywords: needs review, patch

Created on 2013-07-27 08:07 by paul.moore, last changed 2022-04-11 14:57 by admin. This issue is now closed.

File name Uploaded Description Edit
pathext.patch paul.moore, 2013-07-27 08:07
Messages (3)
msg193781 - (view) Author: Paul Moore (paul.moore) * (Python committer) Date: 2013-07-27 08:07
Make the Windows Python installer set PATHEXT when "Register Python extensions" is set. This allows users to run a scripy by typing the name of the .py file at the command line without the .py extension.

The patch needs review - I have not been able to build the MSI installer and so this patch is untested :-(
msg194084 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-08-01 16:31
New changeset 2a38e4da6ce8 by Martin v. Löwis in branch 'default':
Issue #18569: The installer now adds .py to the PATHEXT variable
msg194085 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2013-08-01 16:32
Thanks for the patch. It works fine (with the expected limitation that you need to restart running shells for this to take effect).
Date User Action Args
2022-04-11 14:57:48adminsetgithub: 62769
2013-08-01 16:32:43loewissetstatus: open -> closed
resolution: fixed
messages: + msg194085
2013-08-01 16:31:29python-devsetnosy: + python-dev
messages: + msg194084
2013-07-27 08:07:43paul.moorecreate