[issue7951] Should str.format allow negative indexes when used for __getitem__ access?
Eric Smith
report at bugs.python.org
Mon Jun 14 13:23:36 CEST 2010
Eric Smith <eric at trueblade.com> added the comment:
Addressing just the last part of Mark's message right now:
The PEP goes on to say:
Implementation note: The implementation of this proposal is
not required to enforce the rule about a simple or dotted name
being a valid Python identifier. ...
I rely on getattr lookup failing for dotted names, but for simple names there's no check at all. I agree it's desirable to leave this behavior.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7951>
_______________________________________
More information about the Python-bugs-list
mailing list