diff options
author | Raymond Hettinger <python@rcn.com> | 2016-02-02 05:19:22 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2016-02-02 05:19:22 (GMT) |
commit | b00da57561505eb220a107fab0e7fbc322f767ac (patch) | |
tree | d781959a29d40965a7cc0aaf4c3a5c8cc03b0411 /Misc/NEWS | |
parent | 3e7230904e475982d0aea2c0181ea9e04e0ac6b3 (diff) | |
download | cpython-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/NEWS')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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`` |