Revised PEP 237 - Unifying Long Integers and Integers

Guido van Rossum
Tue, 14 Aug 2001 14:43:34 -0400

Please comment on the completely revised PEP 237:

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

--Guido van Rossum (home page: