Tim Peters wrote at 2006-6-17 14:50 -0400:
> ...
>The problem arises because what _Python_ calls "int" is what C calls
>"long", but the I-flavor BTree code stores C "int", and C "int"
>doesn't correspond to any Python type (except "by accident" on 32-bit

Why not simply change this, i.e. let "BTree" use what Python
calls an "int" (i.e. a "C long").

Of course, we need to be a bit careful, when we load pickles.
They might have been written by applications with a longer
"C long" than we have.
But, this problem we have anyway (independent of BTrees).

Zope3-dev mailing list
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to