[issue26490] Leading “0” allowed, only for decimal zero
Ben Finney
report at bugs.python.org
Sun Mar 6 01:26:04 EST 2016
Ben Finney added the comment:
> rationale unknown
That's quite a pity. The inconsistency catches people out, and the docs do not make clear why an exception is made.
> but any number of zeroes is still unambiguously zero.
Of course. But the same is true for “0003 is unambiguously three”, yet that's invalid syntax.
I won't contest closing this report. But the above is not an explanation for the inconsistency.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26490>
_______________________________________
More information about the Python-bugs-list
mailing list