[issue12127] Inconsistent leading zero treatment

Eric V. Smith report at bugs.python.org
Fri May 20 15:04:56 CEST 2011


Eric V. Smith <eric at trueblade.com> added the comment:

I don't buy the "confusion with other languages" argument. It's a different language. People know that.

I'd like to see leading zeros allowed for integer literals, but I don't feel strongly about it, so +0. I'd mainly use them for tables of numbers that I'd like to line up.

If using 2to3 or 3to2, they could deal with it. The only case it would cause you problems is code that you want to run unchanged in 2.x and 3.x.

----------

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


More information about the Python-bugs-list mailing list