summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2016-02-02 05:19:22 (GMT)
committerRaymond Hettinger <python@rcn.com>2016-02-02 05:19:22 (GMT)
commitb00da57561505eb220a107fab0e7fbc322f767ac (patch)
treed781959a29d40965a7cc0aaf4c3a5c8cc03b0411 /Misc
parent3e7230904e475982d0aea2c0181ea9e04e0ac6b3 (diff)
downloadcpython-b00da57561505eb220a107fab0e7fbc322f767ac.zip
cpython-b00da57561505eb220a107fab0e7fbc322f767ac.tar.gz
cpython-b00da57561505eb220a107fab0e7fbc322f767ac.tar.bz2
Issue #26194: Inserting into a full deque to raise an IndexError
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 2 insertions, 2 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index a95d2a0..ba1f4de 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -22,8 +22,8 @@ Core and Builtins
compiler issues.
- Issue #26194: Deque.insert() gave odd results for bounded deques that had
- reached their maximum size. Now, the insert will happen normally and then
- any overflowing element will be truncated from the right side.
+ reached their maximum size. Now an IndexError will be raised when attempting
+ to insert into a full deque.
- Issue #25843: When compiling code, don't merge constants if they are equal
but have a different types. For example, ``f1, f2 = lambda: 1, lambda: 1.0``