[Zodb-checkins] CVS: ZODB3 - NEWS.txt:

Tim Peters tim.one at comcast.net
Tue Aug 17 15:24:18 EDT 2004

Update of /cvs-repository/ZODB3
In directory cvs.zope.org:/tmp/cvs-serv2043

Modified Files:
      Tag: Zope-2_7-branch
Log Message:
oid_repr():  Make it obvious which base is intended.  The output was
3-way ambiguous.

=== ZODB3/NEWS.txt => ===
--- ZODB3/NEWS.txt:	Mon Aug  9 16:07:24 2004
+++ ZODB3/NEWS.txt	Tue Aug 17 15:23:46 2004
@@ -1,3 +1,18 @@
+What's new in ZODB3 3.2.4
+Release date: DD-MMM-YYYY
+ZODB.utils.oid_repr() changed to add a leading "0x", and to strip leading
+zeroes.  This is used, e.g., in the detail of a POSKeyError exception, to
+identify the missing oid.  Before, the output was ambiguous.  For example,
+oid 17 was displayed as 0000000000000011.  As a Python integer, that's
+octal 9.  Or was it meant to be decimal 11?  Or was it meant to be hex?
+Now it displays as 0x11.
 What's new in ZODB3 3.2.3
 Release date: 09-Aug-2004

More information about the Zodb-checkins mailing list