[Python-Dev] builtin_id() returns negative numbers
Guido van Rossum
gvanrossum at gmail.com
Thu Feb 17 07:22:40 CET 2005
> > Otherwise, unless I misunderstand integer unification, one would
> > just have to strike the distinction between, say, %d and %u.
>
> Couldn't that be done anyway? The distinction really only
> makes sense in C, where there's no way of knowing whether
> the value is signed or unsigned otherwise. In Python the
> value itself knows whether it's signed or not.
The time machine is at your service: in Python 2.4 there's no
difference. That's integer unification for you!
--
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-Dev
mailing list