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
e51a0f80
Commit
e51a0f80
authored
Apr 21, 2006
by
Thomas Wouters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merge trunk up to 45598.
parent
66cac891
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
5 deletions
+14
-5
Objects/typeobject.c
Objects/typeobject.c
+4
-4
Tools/msi/msi.py
Tools/msi/msi.py
+10
-1
No files found.
Objects/typeobject.c
View file @
e51a0f80
...
...
@@ -4183,10 +4183,10 @@ slot_sq_ass_item(PyObject *self, Py_ssize_t index, PyObject *value)
if
(
value
==
NULL
)
res
=
call_method
(
self
,
"__delitem__"
,
&
delitem_str
,
"(
i
)"
,
index
);
"(
n
)"
,
index
);
else
res
=
call_method
(
self
,
"__setitem__"
,
&
setitem_str
,
"(
i
O)"
,
index
,
value
);
"(
n
O)"
,
index
,
value
);
if
(
res
==
NULL
)
return
-
1
;
Py_DECREF
(
res
);
...
...
@@ -4201,10 +4201,10 @@ slot_sq_ass_slice(PyObject *self, Py_ssize_t i, Py_ssize_t j, PyObject *value)
if
(
value
==
NULL
)
res
=
call_method
(
self
,
"__delslice__"
,
&
delslice_str
,
"(
ii
)"
,
i
,
j
);
"(
nn
)"
,
i
,
j
);
else
res
=
call_method
(
self
,
"__setslice__"
,
&
setslice_str
,
"(
ii
O)"
,
i
,
j
,
value
);
"(
nn
O)"
,
i
,
j
,
value
);
if
(
res
==
NULL
)
return
-
1
;
Py_DECREF
(
res
);
...
...
Tools/msi/msi.py
View file @
e51a0f80
...
...
@@ -908,6 +908,12 @@ def add_files(db):
if files:
# Add an entry to the RemoveFile table to remove bytecode files.
lib.remove_pyc()
if dir.endswith('.egg-info'):
lib.add_file('entry_points.txt')
lib.add_file('PKG-INFO')
lib.add_file('top_level.txt')
lib.add_file('zip-safe')
continue
if dir=='test' and parent.physical=='Lib':
lib.add_file("
185
test
.
db
")
lib.add_file("
audiotest
.
au
")
...
...
@@ -930,9 +936,12 @@ def add_files(db):
if dir=="
Icons
":
lib.glob("
*
.
gif
")
lib.add_file("
idle
.
icns
")
if dir=="
command
":
if dir=="
command
"
and parent.physical=="
distutils
"
:
lib.add_file("
wininst
-
6.
exe
")
lib.add_file("
wininst
-
7.1
.
exe
")
if dir=="
setuptools
":
lib.add_file("
cli
.
exe
")
lib.add_file("
gui
.
exe
")
if dir=="
data
" and parent.physical=="
test
" and parent.basedir.physical=="
email
":
# This should contain all non-.svn files listed in subversion
for f in os.listdir(lib.absolute):
...
...
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