[Python-3000-checkins] r67151 - in python/branches/py3k: Misc/NEWS Tools/msi/msi.py

martin.v.loewis python-3000-checkins at python.org
Fri Nov 7 19:54:51 CET 2008


Author: martin.v.loewis
Date: Fri Nov  7 19:54:51 2008
New Revision: 67151

Log:
Merged revisions 67149 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67149 | martin.v.loewis | 2008-11-07 19:51:50 +0100 (Fr, 07 Nov 2008) | 1 line
  
  Issue #1656675: Register a drop handler for .py* files on Windows.
........


Modified:
   python/branches/py3k/   (props changed)
   python/branches/py3k/Misc/NEWS
   python/branches/py3k/Tools/msi/msi.py

Modified: python/branches/py3k/Misc/NEWS
==============================================================================
--- python/branches/py3k/Misc/NEWS	(original)
+++ python/branches/py3k/Misc/NEWS	Fri Nov  7 19:54:51 2008
@@ -16,6 +16,11 @@
 Library
 -------
 
+Build
+-----
+
+- Issue #1656675: Register a drop handler for .py* files on Windows.
+
 
 What's New in Python 3.0 release candidate 2
 ============================================

Modified: python/branches/py3k/Tools/msi/msi.py
==============================================================================
--- python/branches/py3k/Tools/msi/msi.py	(original)
+++ python/branches/py3k/Tools/msi/msi.py	Fri Nov  7 19:54:51 2008
@@ -1183,6 +1183,7 @@
     ewi = "Edit with IDLE"
     pat2 = r"Software\Classes\%sPython.%sFile\DefaultIcon"
     pat3 = r"Software\Classes\%sPython.%sFile"
+    pat4 = r"Software\Classes\%sPython.%sFile\shellex\DropHandler"
     tcl_verbs = []
     if have_tcl:
         tcl_verbs=[
@@ -1230,6 +1231,13 @@
               "Python File (no console)", "REGISTRY.def"),
              ("pyc.txt", -1, pat3 % (testprefix, "Compiled"), "",
               "Compiled Python File", "REGISTRY.def"),
+             # Drop Handler
+             ("py.drop", -1, pat4 % (testprefix, ""), "",
+              "{60254CA5-953B-11CF-8C96-00AA00B8708C}", "REGISTRY.def"),
+             ("pyw.drop", -1, pat4 % (testprefix, "NoCon"), "",
+              "{60254CA5-953B-11CF-8C96-00AA00B8708C}", "REGISTRY.def"),
+             ("pyc.drop", -1, pat4 % (testprefix, "Compiled"), "",
+              "{60254CA5-953B-11CF-8C96-00AA00B8708C}", "REGISTRY.def"),
             ])
 
     # Registry keys


More information about the Python-3000-checkins mailing list