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 loewis
Recipients ezio.melotti, lemburg, loewis, taleinat, terry.reedy
Date 2014-07-07.12:15:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1404735349.53.0.0560237071784.issue21765@psf.upfronthosting.co.za>
In-reply-to
Content
Two observations: 1. This issue is only about identifiers. So processing of string literals is technically out of scope. 2. I'd suggest to replace .translate with regular expressions: py> re.sub('[^(){}\[\]]','','foo(b[a]{r}≠)') '([]{})' I'm sure people interested in performance will want to time this approach.
History
Date User Action Args
2014-07-07 12:15:49loewissetrecipients: + loewis, lemburg, terry.reedy, taleinat, ezio.melotti
2014-07-07 12:15:49loewissetmessageid: <1404735349.53.0.0560237071784.issue21765@psf.upfronthosting.co.za>
2014-07-07 12:15:49loewislinkissue21765 messages
2014-07-07 12:15:49loewiscreate