Commit 5284f802 authored by Martin v. Löwis's avatar Martin v. Löwis

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

when extensions are registered. Patch by Paul Moore.
parent 85a4847f
...@@ -734,6 +734,12 @@ IDLE ...@@ -734,6 +734,12 @@ IDLE
- Issue #17532: Always include Options menu for IDLE on OS X. - Issue #17532: Always include Options menu for IDLE on OS X.
Patch by Guilherme Simões. 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 Build
----- -----
......
...@@ -1270,6 +1270,10 @@ def add_registry(db): ...@@ -1270,6 +1270,10 @@ def add_registry(db):
"{60254CA5-953B-11CF-8C96-00AA00B8708C}", "REGISTRY.def"), "{60254CA5-953B-11CF-8C96-00AA00B8708C}", "REGISTRY.def"),
]) ])
# PATHEXT
add_data(db, "Environment",
[("PathExtAddition", "=-*PathExt", "[~];.PY", "REGISTRY.def")])
# Registry keys # Registry keys
prefix = r"Software\%sPython\PythonCore\%s" % (testprefix, short_version) prefix = r"Software\%sPython\PythonCore\%s" % (testprefix, short_version)
add_data(db, "Registry", add_data(db, "Registry",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment