[Zope3-dev] possible bug in catalog code

Tim Peters tim.peters at gmail.com
Thu Jul 7 10:06:33 EDT 2005


[Jim Fulton]
|> ...
> AFAICT, Python still makes no guarantee wrt comparison of
> of objects of different types over time:

That's true, and in particular the relative (wrt objects of non-None
types) ordering of None _has_ changed across CPython releases.

The "Total Ordering and Persistence" section of the ZODB Programming
Guide explains some BTree requirements in detail, including why, e.g.,
it's not even safe to mix str keys with unicode keys:

    http://www.zope.org/Wikis/ZODB/FrontPage/guide/node6.html


More information about the Zope3-dev mailing list