Python Gotcha with Octal Numbers

Grant Edwards grante at visi.com
Fri Feb 22 10:20:13 EST 2002


In article <Xns91B6DFD6A36CDRASXnewsDFE1 at 130.133.1.4>, Philip Swartzleonard wrote:

>> Personally, I would like to see octal number entry migrated from 0---
>> to something like 0o---.  This would bring things more in line with
>> the entry of hex numbers (0x---)
>> 
>> I know it's only a minor thing, but it'd be nice if my numbers behaved
>> as I expected...
> 
> Steve has mentioned that UNIX people are used to it... 

I'm a Unix person, I'm used to it, and I still think it sucks.

> i think it's a little deeper than that, b'cause as far as i
> know, _every_ programming language that has ever supported
> octal does it this way...

And I still think it sucks.  :)

-- 
Grant Edwards                   grante             Yow!  FROZEN ENTREES may
                                  at               be flung by members of
                               visi.com            opposing SWANSON SECTS...



More information about the Python-list mailing list