]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Close #16281: handle tailmatch() failure and remove useless comment
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 3 Jan 2013 02:18:09 +0000 (03:18 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 3 Jan 2013 02:18:09 +0000 (03:18 +0100)
commit18aa4477d37b8ead78f5f6c36c5da8b8ac593091
tree8468c7dd618c78958ed9ae78a64f8f2562e46006
parentaf9704a8079ffe38010068103971611c172833f9
Close #16281: handle tailmatch() failure and remove useless comment

"honor direction and do a forward or backwards search": the runtime speed may
be different, but I consider that it doesn't really matter in practice. The
direction was never honored before: Python 2.7 uses memcmp() for the str type
for example.
Objects/unicodeobject.c