int/long unification hides bugs

Jeremy Fincher tweedgeezer at hotmail.com
Sat Oct 30 03:51:45 EDT 2004


Andrew Dalke <adalke at mindspring.com> 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.

Jeremy



More information about the Python-list mailing list