[Python-Dev] Re: Re: Int FutureWarnings and other 2.4 TODOs
Gisle Aas
gisle at ActiveState.com
Thu Dec 4 13:40:16 EST 2003
"Andrew Koenig" <ark-mlist at att.net> writes:
> An int is a 31-bit integer, INCLUDING sign. One extra bit indicates whether
> the integer is really a number or, alternatively, a pointer to the rest of
> the representation.
This is exactly how it's done in Ruby as well. Search for FIXNUM in
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ruby.h?rev=1.95&content-type=text/x-cvsweb-markup
Regards,
Gisle
More information about the Python-Dev
mailing list