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.4685572e-05
Marked as misclassified No
Message-id <1311950666.06.0.132912593311.issue9723@psf.upfronthosting.co.za>
In-reply-to
Content
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.)
History
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: <1311950666.06.0.132912593311.issue9723@psf.upfronthosting.co.za>
2011-07-29 14:44:25r.david.murraylinkissue9723 messages
2011-07-29 14:44:25r.david.murraycreate