]> granicus.if.org Git - python/commitdiff
Issue #18569: The installer now adds .py to the PATHEXT variable
authorMartin v. Löwis <martin@v.loewis.de>
Thu, 1 Aug 2013 16:31:06 +0000 (18:31 +0200)
committerMartin v. Löwis <martin@v.loewis.de>
Thu, 1 Aug 2013 16:31:06 +0000 (18:31 +0200)
when extensions are registered. Patch by Paul Moore.

Misc/NEWS
Tools/msi/msi.py

index 41ba1a8318589319181af59ac02f0011a51fc65d..35ffbfd787d7ae143eb94d401ac61ee79b015aab 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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
 -----
 
index 8d088ff3a64535079d36fe7c25a045b1615bb3d7..3e3cef18ff32751b44ffb2359c86ddaefbc92d8c 100644 (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",