Steve Dower added the comment:

FTR, I think this was a bad fix and we should have just changed the spec to 
require a space between numeric literals and identifiers.

Closing as by design would have been fine in my opinion as well, since the spec 
says spaces are required when it's ambiguous, and this case looks fairly 
ambiguous. There's also a bit of a slippery slope here where we now have to fix 
"0x1and 3" or be very explicit about why it is different.

I haven't even mentioned changing the parser in a dot release. That seems 
somewhat ridiculous.

Everyone else who writes a Python parser (all the IDEs and type checkers, other 
implementations, etc.) would prefer it if we didn't need our tokenisers to look 
ahead two characters.

----------
nosy: +steve.dower
versions: +Python 3.5

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21642>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to