Issue #18569: The installer now adds .py to the PATHEXT variable

when extensions are registered. Patch by Paul Moore.
This commit is contained in:
Martin v. Löwis 2013-08-01 18:31:06 +02:00
parent 85a4847f07
commit 5284f80268
2 changed files with 10 additions and 0 deletions

View File

@ -734,6 +734,12 @@ IDLE
- Issue #17532: Always include Options menu for IDLE on OS X.
Patch by Guilherme Simões.
Windows
-------
- Issue #18569: The installer now adds .py to the PATHEXT variable when extensions
are registered. Patch by Paul Moore.
Build
-----

View File

@ -1270,6 +1270,10 @@ def add_registry(db):
"{60254CA5-953B-11CF-8C96-00AA00B8708C}", "REGISTRY.def"),
])
# PATHEXT
add_data(db, "Environment",
[("PathExtAddition", "=-*PathExt", "[~];.PY", "REGISTRY.def")])
# Registry keys
prefix = r"Software\%sPython\PythonCore\%s" % (testprefix, short_version)
add_data(db, "Registry",