[Zope-Coders] int() returns long in Py2.3.2?

Chris McDonough chrism at plope.com
Tue Nov 4 18:07:45 EST 2003


On Tue, 2003-11-04 at 18:00, Tim Peters wrote:

> Still, it's usually fair to call a gross change in behavior "a bug".  It's
> not appropriate in this particular case because the change in int() behavior
> was planned and announced more than 2 years ago, in the "Unifying Long
> Integers and Integers" PEP (see esp. the "Buitin-in Functions" section):
> 
>     http://www.python.org/peps/pep-0237.html
> 
> So that's something for Zope to be aware of too:  the long-range plan for
> Python is to eliminate all user-visible distinctions between the int and
> long types.  We're somewhere beyond the halfway point of the PEP's
> multi-year plan to get there.

This was buried somewhere in the deep recesses of my memory.  Very
difficult to keep up with this stuff (even things that are two years
old).  Thanks for the clarification.

- C





More information about the Zope-Coders mailing list