Glenn Linderman <v+pyt...@g.nevcal.com> added the comment: 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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15226> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com