This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.smith
Recipients belopolsky, docs@python, eric.araujo, eric.smith, mark.dickinson
Date 2010-10-04.16:54:41
SpamBayes Score 0.0043654344
Marked as misclassified No
Message-id <1286211282.49.0.727238009224.issue10021@psf.upfronthosting.co.za>
In-reply-to
Content
Right. It seemed like a hassle to have the str.format parser try to figure out what a valid identifier is, so it just passes it through.

I don't see this as any different from:

>>> class X:
...    def __getattribute__(self, a): return 'foo'
... 
>>> getattr(X(), '$#@')
'foo'
History
Date User Action Args
2010-10-04 16:54:42eric.smithsetrecipients: + eric.smith, mark.dickinson, belopolsky, eric.araujo, docs@python
2010-10-04 16:54:42eric.smithsetmessageid: <1286211282.49.0.727238009224.issue10021@psf.upfronthosting.co.za>
2010-10-04 16:54:41eric.smithlinkissue10021 messages
2010-10-04 16:54:41eric.smithcreate