=== modified file 'CHANGES.txt' --- CHANGES.txt 2012-12-06 11:52:47 +0000 +++ CHANGES.txt 2012-12-19 09:13:40 +0000 @@ -4,6 +4,8 @@ Changes 0.10.4 (unreleased) ~~~~~~~~~~~~~~~~~~~ +- Not all persistent objects have an 8-byte string OID (LP#1091716). + 0.10.3 (2012-12-06) ~~~~~~~~~~~~~~~~~~~ === modified file 'src/zodbbrowser/value.py' --- src/zodbbrowser/value.py 2012-12-06 06:31:36 +0000 +++ src/zodbbrowser/value.py 2012-12-19 09:15:27 +0000 @@ -4,7 +4,7 @@ import collections import re from cgi import escape -from ZODB.utils import u64 +from ZODB.utils import u64, oid_repr from persistent import Persistent from persistent.dict import PersistentDict from persistent.list import PersistentList @@ -63,10 +63,10 @@ class GenericValue(object): if self.context.__class__.__repr__ is object.__repr__: # Special-case objects with the default __repr__ (LP#1087138) if isinstance(self.context, Persistent): - return '<%s.%s with oid 0x%x>' % ( + return '<%s.%s with oid %s>' % ( self.context.__class__.__module__, self.context.__class__.__name__, - u64(self.context._p_oid)) + oid_repr(self.context._p_oid)) try: return repr(self.context) except Exception: