Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
3d6f8ff8
Commit
3d6f8ff8
authored
Nov 07, 2008
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #1656675: Register a drop handler for .py* files on Windows.
parent
14da8e80
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
Misc/NEWS
Misc/NEWS
+2
-0
Tools/msi/msi.py
Tools/msi/msi.py
+8
-0
No files found.
Misc/NEWS
View file @
3d6f8ff8
...
...
@@ -57,6 +57,8 @@ Library
Build
-----
- Issue #1656675: Register a drop handler for .py* files on Windows.
- Issue #4120: Exclude manifest from extension modules in VS2008.
- Issue #4091: Install pythonxy.dll in system32 again.
...
...
Tools/msi/msi.py
View file @
3d6f8ff8
...
...
@@ -1182,6 +1182,7 @@ def add_registry(db):
ewi
=
"Edit with IDLE"
pat2
=
r"Software\
Cl
asses\
%sPy
thon.%sFile\
De
faultIcon"
pat3
=
r"Software\
Cl
asses\
%sPy
thon.%sFile"
pat4
=
r"Software\
Cl
asses\
%sPy
thon.%sFile\
shellex
\DropHandler"
tcl_verbs
=
[]
if
have_tcl
:
tcl_verbs
=
[
...
...
@@ -1229,6 +1230,13 @@ def add_registry(db):
"
Python
File
(
no
console
)
", "
REGISTRY
.
def
"),
("
pyc
.
txt
", -1, pat3 % (testprefix, "
Compiled
"), "",
"
Compiled
Python
File
", "
REGISTRY
.
def
"),
# Drop Handler
("
py
.
drop
", -1, pat4 % (testprefix, ""), "",
"
{
60254
CA5
-
953
B
-
11
CF
-
8
C96
-
00
AA00B8708C
}
", "
REGISTRY
.
def
"),
("
pyw
.
drop
", -1, pat4 % (testprefix, "
NoCon
"), "",
"
{
60254
CA5
-
953
B
-
11
CF
-
8
C96
-
00
AA00B8708C
}
", "
REGISTRY
.
def
"),
("
pyc
.
drop
", -1, pat4 % (testprefix, "
Compiled
"), "",
"
{
60254
CA5
-
953
B
-
11
CF
-
8
C96
-
00
AA00B8708C
}
", "
REGISTRY
.
def
"),
])
# Registry keys
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment