Revised PEP 237 - Unifying Long Integers and Integers

Guido van Rossum guido@python.org
Tue, 14 Aug 2001 14:43:34 -0400


Please comment on the completely revised PEP 237:

  http://python.sourceforge.net/peps/pep-0237.html

I'm proposing an implementation plan that keeps int and long as
separate types, but otherwise will totally remove the differences.

I'm also proposing a transition plan that does one easy thing in 2.2
(change ops that raise OverflowError to return a long result instead),
and puts off addressing the more severe incompatibilities to 2.3.

This is mostly because I don't see how we can make time to design and
implement the necessary future statements or other compatibility
measures in time.

Please mail comments to me or to python-dev@python.org.

--Guido van Rossum (home page: http://www.python.org/~guido/)