int/long unification hides bugs

Jeremy Fincher tweedgeezer at
Sat Oct 30 09:51:45 CEST 2004

Andrew Dalke <adalke at> wrote in message news:
> What's wrong with the example Number wrapper I posted a couple days
> ago to this thread?

How long with this take to run?

>>> a = RangedNumber(2**31, 0, 2**32)
>>> a ** a

I think our inability to write a RangedNumber that piggybacks on
Python's integers should be obvious.


More information about the Python-list mailing list