[docs] [issue35105] Document that CPython accepts "invalid" identifiers

Chris Jerdonek report at bugs.python.org
Sat Nov 3 17:49:15 EDT 2018


Chris Jerdonek <chris.jerdonek at gmail.com> added the comment:

> In the pydev thread, Guido said "My feeling is that limiting it to strings is fine, but checking those strings for resembling identifiers is pointless and wasteful."

But in a later message, after additional discussion, he acknowledged there could be reasons to change and said, "we needn't rush this."

So if the docs do describe the current implementation, I think it should warn people that this behavior might not be subject to the same backwards compatibility guarantees as other documented behavior.

----------
nosy: +chris.jerdonek

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35105>
_______________________________________


More information about the docs mailing list