On 3/16/07, <b class="gmail_sendername">Jim Jewett</b> <<a href="mailto:email@example.com">firstname.lastname@example.org</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 3/15/07, Patrick Maupin <<a href="mailto:email@example.com">firstname.lastname@example.org</a>> wrote:<br>> I have not seen any real<br>> requests for any bases other than 2, 8, 10, or 16.<br><br>What is the real need for 8?
</blockquote><div><br>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..
<br><br>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. :)<br><br>--S, who is far too talkative lately. I'm supposed to be a lurker :P