cpython (merge default -> default): merge

https://hg.python.org/cpython/rev/85b2aa520c84 changeset: 94789:85b2aa520c84 parent: 94788:d783132d72bc parent: 94786:5942fd9ab335 user: Alexander Belopolsky <alexander.belopolsky@gmail.com> date: Sat Feb 28 10:46:00 2015 -0500 summary: merge files: Modules/_collectionsmodule.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/Modules/_collectionsmodule.c b/Modules/_collectionsmodule.c --- a/Modules/_collectionsmodule.c +++ b/Modules/_collectionsmodule.c @@ -788,7 +788,9 @@ while (n--) b = b->rightlink; } else { - n = (deque->leftindex + Py_SIZE(deque) - 1) / BLOCKLEN - n; + n = (Py_ssize_t)( + ((unsigned)(deque->leftindex + Py_SIZE(deque) - 1)) + / BLOCKLEN - n); b = deque->rightblock; while (n--) b = b->leftlink; -- Repository URL: https://hg.python.org/cpython
participants (1)
-
alexander.belopolsky