summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorOren Milman <orenmn@gmail.com>2018-09-11 18:46:55 (GMT)
committerBenjamin Peterson <benjamin@python.org>2018-09-11 18:46:55 (GMT)
commit24bd50bdcc97d65130c07d6cd26085fd06c3e972 (patch)
tree910e8fbb4e6df9a32a19caaef1338c78a1f37d7a /Misc
parentb4ec36200a959da70eba94c19826446a8efdffdd (diff)
downloadcpython-24bd50bdcc97d65130c07d6cd26085fd06c3e972.zip
cpython-24bd50bdcc97d65130c07d6cd26085fd06c3e972.tar.gz
cpython-24bd50bdcc97d65130c07d6cd26085fd06c3e972.tar.bz2
closes bpo-31608: Fix a crash in methods of a subclass of _collections.deque with a bad __new__(). (GH-3788)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2017-10-29-10-37-55.bpo-31608.wkp8Nw.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2017-10-29-10-37-55.bpo-31608.wkp8Nw.rst b/Misc/NEWS.d/next/Library/2017-10-29-10-37-55.bpo-31608.wkp8Nw.rst
new file mode 100644
index 0000000..d657a86
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2017-10-29-10-37-55.bpo-31608.wkp8Nw.rst
@@ -0,0 +1,2 @@
+Raise a ``TypeError`` instead of crashing if a ``collections.deque`` subclass
+returns a non-deque from ``__new__``. Patch by Oren Milman.