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
c40e60e5
Commit
c40e60e5
authored
Sep 18, 2009
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#6938: "ident" is always a string, so use a format code which works.
parent
097f7088
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
Lib/multiprocessing/managers.py
Lib/multiprocessing/managers.py
+1
-1
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Lib/multiprocessing/managers.py
View file @
c40e60e5
...
@@ -410,7 +410,7 @@ class Server(object):
...
@@ -410,7 +410,7 @@ class Server(object):
self
.
id_to_refcount
[
ident
]
-=
1
self
.
id_to_refcount
[
ident
]
-=
1
if
self
.
id_to_refcount
[
ident
]
==
0
:
if
self
.
id_to_refcount
[
ident
]
==
0
:
del
self
.
id_to_obj
[
ident
],
self
.
id_to_refcount
[
ident
]
del
self
.
id_to_obj
[
ident
],
self
.
id_to_refcount
[
ident
]
util
.
debug
(
'disposing of obj with id %
d
'
,
ident
)
util
.
debug
(
'disposing of obj with id %
r
'
,
ident
)
finally
:
finally
:
self
.
mutex
.
release
()
self
.
mutex
.
release
()
...
...
Misc/NEWS
View file @
c40e60e5
...
@@ -376,6 +376,9 @@ Core and Builtins
...
@@ -376,6 +376,9 @@ Core and Builtins
Library
Library
-------
-------
- Issue #6938: Fix a TypeError in string formatting of a multiprocessing
debug message.
- Issue #6635: Fix profiler printing usage message.
- Issue #6635: Fix profiler printing usage message.
- Issue #6856: Add a filter keyword argument to TarFile.add().
- Issue #6856: Add a filter keyword argument to TarFile.add().
...
...
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