summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-11-15 09:57:26 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-11-15 09:57:26 (GMT)
commitd550c9a281fd9a909f84a4f29d2d9a0be9187685 (patch)
treeffcdd96d617595bd98f7e88122a7a5a7836a7bed /Misc
parent4c7eaee5db8bd4b5b55e3102fb171e45ad073117 (diff)
downloadcpython-d550c9a281fd9a909f84a4f29d2d9a0be9187685.zip
cpython-d550c9a281fd9a909f84a4f29d2d9a0be9187685.tar.gz
cpython-d550c9a281fd9a909f84a4f29d2d9a0be9187685.tar.bz2
Issue #7298: Fix a variety of problems leading to wrong results with
the fast versions of range.__reversed__ and range iteration. Also fix wrong results and a refleak for PyLong version of range.__reversed__. Thanks Eric Smith for reviewing, and for suggesting improved tests.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 7f59447..96cc3ce 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,12 @@ What's New in Python 3.2 Alpha 1?
Core and Builtins
-----------------
+- Issue #7298: fixes for range and reversed(range(...)). Iteration
+ over range(a, b, c) incorrectly gave an empty iterator when a, b and
+ c fit in C long but the length of the range did not. Also fix
+ several cases where reversed(range(a, b, c)) gave wrong results, and
+ fix a refleak for reversed(range(a, b, c)) with large arguments.
+
- Issue #7244: itertools.izip_longest() no longer ignores exceptions
raised during the formation of an output tuple.