On Tue, Sep 21, 2010 at 11:16 AM, Hanno Schlichting <ha...@hannosch.eu> wrote: > On Tue, Sep 21, 2010 at 4:30 PM, Jim Fulton <j...@zope.com> wrote: >> On Tue, Sep 21, 2010 at 10:00 AM, Hanno Schlichting <ha...@hannosch.eu> >> wrote: >>> Note that the BTrees 32bit bug fix (OverflowError to TypeError) also >>> needs some adjustments in Zope2 (IIRC in the DateIndex code) and some >>> add-ons (like CMFEditions). So it's not straightforward to use this in >>> older Plone versions. >> >> AFAIK, this fix doesn't convert overflow errors to type errors. It >> simply raises >> type errors in situations where data were simply stored incorrectly before. >> I'm surprised that this would cause problems. > > It was changes like this one > http://svn.zope.org/Zope/trunk/src/Products/PluginIndexes/DateIndex/DateIndex.py?rev=115442&r1=115279&r2=115442
I don't understand how the BTree changes would run afoul of this. This code should prevent the BTree from overflowing in the first place, no? Jim -- Jim Fulton _______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org https://mail.zope.org/mailman/listinfo/zodb-dev