Merged revisions 74903 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74903 | georg.brandl | 2009-09-18 11:18:27 +0200 (Fr, 18 Sep 2009) | 1 line

  #6938: "ident" is always a string, so use a format code which works.
........
This commit is contained in:
Georg Brandl 2009-09-18 09:19:52 +00:00
parent 81af174221
commit 894dff42db
2 changed files with 4 additions and 1 deletions

View File

@ -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()

View File

@ -82,6 +82,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 #6795: int(Decimal('nan')) now raises ValueError instead of - Issue #6795: int(Decimal('nan')) now raises ValueError instead of