[Python-checkins] r74903 - in python/trunk: Lib/multiprocessing/managers.py Misc/NEWS
georg.brandl
python-checkins at python.org
Fri Sep 18 11:18:28 CEST 2009
Author: georg.brandl
Date: Fri Sep 18 11:18:27 2009
New Revision: 74903
Log:
#6938: "ident" is always a string, so use a format code which works.
Modified:
python/trunk/Lib/multiprocessing/managers.py
python/trunk/Misc/NEWS
Modified: python/trunk/Lib/multiprocessing/managers.py
==============================================================================
--- python/trunk/Lib/multiprocessing/managers.py (original)
+++ python/trunk/Lib/multiprocessing/managers.py Fri Sep 18 11:18:27 2009
@@ -410,7 +410,7 @@
self.id_to_refcount[ident] -= 1
if self.id_to_refcount[ident] == 0:
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:
self.mutex.release()
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS (original)
+++ python/trunk/Misc/NEWS Fri Sep 18 11:18:27 2009
@@ -376,6 +376,9 @@
Library
-------
+- Issue #6938: Fix a TypeError in string formatting of a multiprocessing
+ debug message.
+
- Issue #6635: Fix profiler printing usage message.
- Issue #6856: Add a filter keyword argument to TarFile.add().
More information about the Python-checkins
mailing list