]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39421: Fix posible crash in heapq with custom comparison operators (GH-18118)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 23 Jan 2020 14:25:31 +0000 (06:25 -0800)
committerGitHub <noreply@github.com>
Thu, 23 Jan 2020 14:25:31 +0000 (06:25 -0800)
commit958064f8d2b84062b0582bbae911df8ccfc11fd6
tree0f435925504d22b41df215fe2cc56e10e5873e34
parent36968c13cb9800559dbb90686933da7daf52c788
bpo-39421: Fix posible crash in heapq with custom comparison operators (GH-18118)

* bpo-39421: Fix posible crash in heapq with custom comparison operators

* fixup! bpo-39421: Fix posible crash in heapq with custom comparison operators

* fixup! fixup! bpo-39421: Fix posible crash in heapq with custom comparison operators
(cherry picked from commit 79f89e6e5a659846d1068e8b1bd8e491ccdef861)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Lib/test/test_heapq.py
Misc/NEWS.d/next/Core and Builtins/2020-01-22-15-53-37.bpo-39421.O3nG7u.rst [new file with mode: 0644]
Modules/_heapqmodule.c