Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bpo-33989: Ensure that ms.key_compare is always initialized in list_s…
…ort_impl(). (GH-8710)
- Loading branch information
1 parent
ef1b88b
commit ebc793d
Showing
2 changed files
with
5 additions
and
0 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
Misc/NEWS.d/next/Core and Builtins/2018-08-08-20-52-55.bpo-33989.TkLBui.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters