Mercurial > cpython-lru_cache-weakref
diff Modules/itertoolsmodule.c @ 39868:eff88c6aaac3 2.5
backport of r51950
* 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
| author | Jack Diederich <jackdied@gmail.com> |
|---|---|
| date | Thu, 21 Sep 2006 18:32:11 +0000 |
| parents | 9d44792063bb |
| children | 77e0f4718a7c |
line wrap: on
line diff
