On 3/15/07, Georg Brandl <[EMAIL PROTECTED]> wrote:
> My concern is that I don't want to have to write something like
>
> x = 0t755  # octal literal
>
> because then I can also write
>
> x = 493  # 0755 in octal
>
> and don't need octal literals at all.

The later is error-prone and might be hard to debug if you put too
much faith in comments.
However, I'd be happy with leaving out octal literals in favor of:

x = int('755', 8)

-- 
Daniel Stutzbach, Ph.D.             President, Stutzbach Enterprises LLC
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to