]> granicus.if.org Git - python/commit
arraymodule: Fix SF bug 113960.
authorTim Peters <tim.peters@gmail.com>
Sat, 16 Sep 2000 22:31:29 +0000 (22:31 +0000)
committerTim Peters <tim.peters@gmail.com>
Sat, 16 Sep 2000 22:31:29 +0000 (22:31 +0000)
commit077a11dd00092fead641b9f2bd824790791512c7
tree26892b795eeda9a1d414e3e1a2e02d7c1ca65d5c
parent64850efa39c7e0442718f599c27fade5c9282311
arraymodule:  Fix SF bug 113960.
    reverse() didn't work at all due to bad arg check.
    Fixed that.
    Added Brad Chapman to ACKS file, as the proud new owner of two
        implicitly copyrighted lines of Python source code <wink>.
    Repaired buffer_info's total lack of arg-checking.
    Replaced memmove by memcpy in reverse() guts, as memmove is
        often slower and the memory areas are guaranteed disjoint.
    Replaced poke-and-hope unchecked decl of tmp buffer size by
        assert-checked larger tmp buffer.
    Got rid of inconsistent spaces before open paren in docstrings.
    Added reverse() sanity tests to test_array.py.
Lib/test/test_array.py
Misc/ACKS
Modules/arraymodule.c