[issue13610] On Python parsing numbers.
Terry J. Reedy
report at bugs.python.org
Sat Dec 17 02:19:46 CET 2011
Terry J. Reedy <tjreedy at udel.edu> added the comment:
The proposal is to change the definition of numbers literals from X to one that is context-sensitive: X followed by whitespace or a syntactic symbol but not anything else, in particular, not by an identifier_start character. I am +-0 at the moment.
> 1 and@ 2
I presume this is parsed as 1 and @ 2, which is a syntax error.
----------
nosy: +terry.reedy
type: -> enhancement
versions: +Python 3.4 -Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13610>
_______________________________________
More information about the Python-bugs-list
mailing list