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 vstinner
Recipients jbit, r.david.murray, vstinner
Date 2010-07-13.23:33:25
SpamBayes Score 0.0009274384
Marked as misclassified No
Message-id <1279064006.56.0.549586262575.issue9243@psf.upfronthosting.co.za>
In-reply-to
Content
> Oh, and the reason it got changed to startswith is probably 
> a micro-optimization: startswith is more efficient than doing
> a slice-and-compare.

Not really. I changed it because it's more readable (it's easier to understand that the code).

--

James: I commited all your fixes + your test suite to 3.1 (r82859 + r82860) and 3.2 (r82856 + r82857) and  added your name to Misc/ACKS. Thanks for your contribution.
History
Date User Action Args
2010-07-13 23:33:26vstinnersetrecipients: + vstinner, r.david.murray, jbit
2010-07-13 23:33:26vstinnersetmessageid: <1279064006.56.0.549586262575.issue9243@psf.upfronthosting.co.za>
2010-07-13 23:33:25vstinnerlinkissue9243 messages
2010-07-13 23:33:25vstinnercreate