Benjamin Peterson <benja...@python.org> added the comment:

2010/10/4 Eric Smith <rep...@bugs.python.org>:
>
> Eric Smith <e...@trueblade.com> added the comment:
>
> 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.

You can always use "str.isidentifier()" (I don't remember if there's a capi).

----------
nosy: +benjamin.peterson

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10021>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to