[issue10021] Format parser is too permissive

Eric Smith report at bugs.python.org
Tue Oct 5 16:32:47 CEST 2010


Eric Smith <eric at trueblade.com> added the comment:

I agree that it being an implementation detail is not a good thing. I think we should just document the current CPython behavior as the language standard: once parsed, any string after a dot is passed to getattr. I can't see why we should pay the penalty of validating it as an identifier when the behavior is well defined and matches my getattr example in msg 117965.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10021>
_______________________________________


More information about the Python-bugs-list mailing list