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

orlnub123 report at bugs.python.org
Wed Oct 31 22:06:58 EDT 2018


orlnub123 <orlnub123 at gmail.com> added the comment:

I'd argue that it's an implementation detail. Documenting it might be nice as some projects such as pytest do use it but I don't think it would make sense in setattr() or getattr() since all they do (at least in this case) is assign/retrieve from the __dict__. One thing to note is that __slots__ doesn't accept them.

----------
nosy: +orlnub123

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


More information about the docs mailing list