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 v+python
Recipients loewis, v+python, vstinner
Date 2012-06-29.23:27:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1341012461.4.0.0155825632591.issue15226@psf.upfronthosting.co.za>
In-reply-to
Content
Ah, so then it would require a new API to make the Python code as smart as the C code, max is too general.

Issue 15016 is an example of Python code that could benefit from knowing in constant time if the string contained only characters < 128, or if the string contained only characters < 256... a three way decision.
History
Date User Action Args
2012-06-29 23:27:41v+pythonsetrecipients: + v+python, loewis, vstinner
2012-06-29 23:27:41v+pythonsetmessageid: <1341012461.4.0.0155825632591.issue15226@psf.upfronthosting.co.za>
2012-06-29 23:27:40v+pythonlinkissue15226 messages
2012-06-29 23:27:40v+pythoncreate