]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
* regression bug, count_next was coercing a Py_ssize_t to an unsigned Py_size_t
authorJack Diederich <jackdied@gmail.com>
Thu, 21 Sep 2006 17:50:26 +0000 (17:50 +0000)
committerJack Diederich <jackdied@gmail.com>
Thu, 21 Sep 2006 17:50:26 +0000 (17:50 +0000)
commit36234e8f6632673ed13658798307ff487d7a7f6a
tree2007dc234dcffac649f77a41d6ea35fa2b503940
parentd14bf61d0528d040183ba9ae7f6b8b4e340818ef
* regression bug, count_next was coercing a Py_ssize_t to an unsigned Py_size_t
  which breaks negative counts
* added test for negative numbers
will backport to 2.5.1
Lib/test/test_itertools.py
Modules/itertoolsmodule.c