]> granicus.if.org Git - python/commit
Issue #23573: Fix bytes.rfind() and bytearray.rfind() on Windows
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 25 Mar 2015 02:16:32 +0000 (03:16 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 25 Mar 2015 02:16:32 +0000 (03:16 +0100)
commitdabbfe7b3017ff6ba62fb4c44c63a43c180532dd
treead978feac0c2631ff44aee65c3f33d80c9122977
parent39183dfc682568e8a00203c26caee893f49ff390
Issue #23573: Fix bytes.rfind() and bytearray.rfind() on Windows

Windows has no memrchr() function.

This change is only a workaround, the optimization must be reenabled on other
platforms.
Objects/bytearrayobject.c
Objects/bytesobject.c