[issue12127] Inconsistent leading zero treatment

Mark Dickinson report at bugs.python.org
Sat May 21 22:17:45 CEST 2011


Mark Dickinson <dickinsm at gmail.com> added the comment:

It does look as though all the arguments were pretty thoroughly hashed out on the python-3000 list when this was first proposed.  See e.g., the thread starting at:

http://mail.python.org/pipermail/python-3000/2007-March/006262.html

and various follow-on threads.  I retract my suggestion that this should be discussed again on python-dev; it probably wouldn't achieve anything.

On the subject of other languages, I was rather hoping that more recent and enlightened languages would have done away with the leading zero implies octal business.  It looks as though C# has, at least, but I was a bit disappointed to see that Go still has leading-zero octal literals.  

For the old-school languages, I'd still expect that for most users this feature is more often a surprising gotcha than expected and useful.

http://stackoverflow.com/questions/565634/integer-with-leading-zeroes

Anyway, +0 for closing as 'rejected'.  (Or perhaps 'wont fix'.)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12127>
_______________________________________


More information about the Python-bugs-list mailing list