Issue 18569: Set PATHEXT in the Windows installer (original) (raw)

Issue18569

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.

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/62769

classification

Title: Set PATHEXT in the Windows installer
Type: enhancement Stage: patch review
Components: Installation, Windows Versions: Python 3.4

process

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.

Files
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 http://hg.python.org/cpython/rev/2a38e4da6ce8
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).
History
Date User Action Args
2022-04-11 14:57:48 admin set github: 62769
2013-08-01 16:32:43 loewis set status: open -> closedresolution: fixedmessages: +
2013-08-01 16:31:29 python-dev set nosy: + python-devmessages: +
2013-07-27 08:07:43 paul.moore create

Supported by The Python Software Foundation,
Powered by Roundup

Copyright © 1990-2022, Python Software Foundation
Legal Statements