Re: Migrating to BTrees 4.x
Jim Fulton <[email protected]>
| Newsgroups | gmane.comp.web.zope.zodb |
|---|---|
| Message-ID | <CAPDm-Fj8MZJZ2DLbBpKWV9_1j_c0JG-o4Ye17BzxOuekbL8NkQ@mail.gmail.com> |
On Sat, Nov 19, 2016 at 3:21 PM, David Glick <[email protected]> wrote: > I'm working on updating Plone to support ZODB 4 and 5. > > So far most of the blockers are because BTrees 4.x no longer allows using > keys whose ordering is not well-defined, including None, and there are > various places where Plone was using None as a key. I understand the reason > for the restriction and am making progress on making Plone no longer do > this. > Hm. IMO, the restriction should be in adding items, not on unpickling. We should go to great lengths, to avoid unpickling errors. I think we should avoid raising this error in __setstate__. It should be easy to fix. Jim -- Jim Fulton http://jimfulton.info -- You received this message because you are subscribed to the Google Groups "zodb" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.