summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2011-01-16 18:22:06 (GMT)
committerRaymond Hettinger <python@rcn.com>2011-01-16 18:22:06 (GMT)
commitb965629a42d137ddfafea1eb35c5e92c0b2c54f7 (patch)
treea50e25a1f5a2613c62d8cc6c9fd9f0d832bbdfa0
parenteec6dbf2325d5d5ddf3a1b2645d9eaeb5e4e3d43 (diff)
downloadcpython-b965629a42d137ddfafea1eb35c5e92c0b2c54f7.zip
cpython-b965629a42d137ddfafea1eb35c5e92c0b2c54f7.tar.gz
cpython-b965629a42d137ddfafea1eb35c5e92c0b2c54f7.tar.bz2
Issue 10889: Added entry for handling of indexing and slicing with ranges bigger than sys.maxsize.
-rw-r--r--Doc/whatsnew/3.2.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst
index 3e7f007..8dc241a 100644
--- a/Doc/whatsnew/3.2.rst
+++ b/Doc/whatsnew/3.2.rst
@@ -541,8 +541,8 @@ Some smaller changes made to the core Python language are:
of an effort to make more objects fully implement the
:class:`collections.Sequence` :term:`abstract base class`. As a result, the
language will have a more uniform API. In addition, :class:`range` objects
- now support slicing and negative indices. This makes *range* more
- interoperable with lists::
+ now support slicing and negative indices, even with values larger than
+ :attr:`sys.maxsize`. This makes *range* more interoperable with lists::
>>> range(0, 100, 2).count(10)
1
@@ -553,8 +553,8 @@ Some smaller changes made to the core Python language are:
>>> range(0, 100, 2)[0:5]
range(0, 10, 2)
- (Contributed by Daniel Stutzbach in :issue:`9213` and by Alexander Belopolsky
- in :issue:`2690`.)
+ (Contributed by Daniel Stutzbach in :issue:`9213`, by Alexander Belopolsky
+ in :issue:`2690`, and by Nick Coghlan in :issue:`10889`.)
* The :func:`callable` builtin function from Py2.x was resurrected. It provides
a concise, readable alternative to using an :term:`abstract base class` in an