[Python-3000] Octal

Stephen Hansen apt.shansen at gmail.com
Fri Mar 16 19:09:47 CET 2007


On 3/16/07, Jim Jewett <jimjjewett at gmail.com> wrote:
>
> On 3/15/07, Patrick Maupin <pmaupin at gmail.com> wrote:
> > I have not seen any real
> > requests for any bases other than 2, 8, 10, or 16.
>
> What is the real need for 8?


Legacy protocols and such is my use case... and the benefit is not so much
"in python", as 0o755 is not anymore readable then 493, but the real benefit
of octal literals comes into play when you're comparing your code not to
other code but to external, horrifying documentation written for the octal
based protocol that has been around forever and will be around forever..

Python is as great tool to wrap around and glue these legacy things that
we're forced to support into the modern age; and octal literals help. They
aren't essential, but they help. :)

--S, who is far too talkative lately. I'm supposed to be a lurker :P
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-3000/attachments/20070316/7a8e8a1f/attachment.htm 


More information about the Python-3000 mailing list