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

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
	NEWS.txt 
Log Message:
oid_repr():  Make it obvious which base is intended.  The output was
3-way ambiguous.


=== ZODB3/NEWS.txt 1.33.6.37 => 1.33.6.38 ===
--- ZODB3/NEWS.txt:1.33.6.37	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
+
+Tools
+--------
+
+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