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 r.david.murray
Recipients anacrolix, brandon-rhodes, eric.araujo, eric.smith, ezio.melotti, georg.brandl, python-dev, r.david.murray, vstinner, xuanji
Date 2011-07-29.14:44:25
SpamBayes Score 2.46856e-05
Marked as misclassified No
Message-id <>
Well, it's a micro-optimization (it would be interesting to benchmark, but not worth it).  I find the original code much more readable than the regex, but it doesn't matter all that much.  (And as far as optimization goes, using translate might be even faster.)
Date User Action Args
2011-07-29 14:44:26r.david.murraysetrecipients: + r.david.murray, georg.brandl, vstinner, eric.smith, ezio.melotti, eric.araujo, brandon-rhodes, anacrolix, xuanji, python-dev
2011-07-29 14:44:26r.david.murraysetmessageid: <>
2011-07-29 14:44:25r.david.murraylinkissue9723 messages
2011-07-29 14:44:25r.david.murraycreate