#6938: "ident" is always a string, so use a format code which works.

This commit is contained in:
Georg Brandl 2009-09-18 09:18:27 +00:00
parent 097f70881a
commit c40e60e5e5
2 changed files with 4 additions and 1 deletions

View File

@ -410,7 +410,7 @@ class Server(object):
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()

View File

@ -376,6 +376,9 @@ Core and Builtins
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().