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 <>
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.
Date User Action Args
2014-07-07 12:15:49loewissetrecipients: + loewis, lemburg, terry.reedy, taleinat, ezio.melotti
2014-07-07 12:15:49loewissetmessageid: <>
2014-07-07 12:15:49loewislinkissue21765 messages
2014-07-07 12:15:49loewiscreate