summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2019-02-21 07:47:14 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2019-02-21 07:47:14 (GMT)
commitebc793d6acb9650b9f497808e059805892031d74 (patch)
tree4dfe8f5ecea05d788c6f27dfed54975331abc40d /Misc
parentef1b88bf57aae93893d55f1b9c9639dbe9cc7786 (diff)
downloadcpython-ebc793d6acb9650b9f497808e059805892031d74.zip
cpython-ebc793d6acb9650b9f497808e059805892031d74.tar.gz
cpython-ebc793d6acb9650b9f497808e059805892031d74.tar.bz2
bpo-33989: Ensure that ms.key_compare is always initialized in list_sort_impl(). (GH-8710)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2018-08-08-20-52-55.bpo-33989.TkLBui.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-08-08-20-52-55.bpo-33989.TkLBui.rst b/Misc/NEWS.d/next/Core and Builtins/2018-08-08-20-52-55.bpo-33989.TkLBui.rst
new file mode 100644
index 0000000..056a71c
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2018-08-08-20-52-55.bpo-33989.TkLBui.rst
@@ -0,0 +1,2 @@
+Fix a possible crash in :meth:`list.sort` when sorting objects with
+``ob_type->tp_richcompare == NULL``. Patch by Zackery Spytz.