What is the maximum IBTree key my system can use?

Éloi Rivard <[email protected]> Tue, 8 Jan 2019 07:12:22 -0800 (PST)
Newsgroups gmane.comp.web.zope.zodb
Message-ID <[email protected]>
------=_Part_2296_1518519888.1546960342771
Content-Type: multipart/alternative; 
	boundary="----=_Part_2297_1759829467.1546960342771"

------=_Part_2297_1759829467.1546960342771
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi.
*IOBTree()[(2**32)-1] =3D True* is raising a TypeError on my computer, and =
in=20
fact it seems the maximum key I can use is 2**31-1

   - Is there a constant somewhere indicating the maximum key I can use in=
=20
   a IOBTree? I found that IBTreeFamily implements a maxint parameter, but =
how=20
   can I know which family I am using?=20
   <https://pythonhosted.org/BTrees/_modules/BTrees/Interfaces.html#IBTreeF=
amily>
   - Is the maximum value the same for everyone? If no, how could I=20
   increase this value?
   - Also, what are your thoughts on 128-bit support=20
   <https://github.com/zopefoundation/BTrees/issues/100>?


Thank you!
=C3=89loi Rivard


--=20
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 e=
mail to [email protected].
For more options, visit https://groups.google.com/d/optout.

------=_Part_2297_1759829467.1546960342771
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi.</div><div><span style=3D"background-color: rgb(20=
4, 204, 204);"><i><b>IOBTree()[(2**32)-1] =3D True</b></i></span> is raisin=
g a TypeError on my computer, and in fact it seems the maximum key I can us=
e is 2**31-1</div><ul><li>Is there a constant somewhere indicating the maxi=
mum key I can use in a IOBTree? I found that IBTreeFamily implements a maxi=
nt parameter, but how can I know which family I am using?<a class=3D"refere=
nce internal" href=3D"https://pythonhosted.org/BTrees/_modules/BTrees/Inter=
faces.html#IBTreeFamily"><span class=3D"viewcode-link"></span></a><br></li>=
<li>Is the maximum value the same for everyone? If no, how could I increase=
 this value?</li><li>Also, what are your thoughts on <a href=3D"https://git=
hub.com/zopefoundation/BTrees/issues/100">128-bit support</a>?</li></ul><di=
v><br></div><div>Thank you!<br></div><div>=C3=89loi Rivard<br></div><div><b=
r></div><div><br></div></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;zodb&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:[email protected]">zodb+unsubscri=
[email protected]</a>.<br />
For more options, visit <a href=3D"https://groups.google.com/d/optout">http=
s://groups.google.com/d/optout</a>.<br />

------=_Part_2297_1759829467.1546960342771--

------=_Part_2296_1518519888.1546960342771--