Does Python need a '>>>' operator?
Michael Gilfix
mgilfix at eecs.tufts.edu
Mon Jun 10 08:49:17 EDT 2002
On Mon, Jun 10 @ 08:57, Beni Cherniavksy wrote:
> I just got another idea: use 0x1234 for 0-filled numbers and 1xABCD for
> 1-filled ones. That way you impose no restrictions on what follows the
> prefix and keep backward compatibility. 0xFFFFFFFF stays a 2^n-1
> _positive_ number, as it should be. The look of 1x is weird at first but
> it is very logical...
Just a vote of confidence. I like this solution a lot. Seems the
best of both worlds, since it leaves the current scheme alone and it
doesn't mean fiddling with expected sizes.
-- Mike
--
Michael Gilfix
mgilfix at eecs.tufts.edu
For my gpg public key:
http://www.eecs.tufts.edu/~mgilfix/contact.html
More information about the Python-list
mailing list