Octal notation: severe deprecation

Jeff Epler jepler at unpythonic.net
Thu Jan 13 18:43:01 EST 2005


On Thu, Jan 13, 2005 at 11:04:21PM +0000, Bengt Richter wrote:
> One way to do it consistently is to have a sign digit as the first
> digit after the x, which is either 0 or base-1 -- e.g., +3 and -3 would be
> 
>     2x011 2x101
>     8x03  8x75
>     16x03 16xfd
>     10x03 10x97

... so that 0x8 and 16x8 would be different?  So that 2x1 and 2x01 would
be different?

Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20050113/8440f89f/attachment.sig>


More information about the Python-list mailing list