]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-98783: Fix crashes when `str` subclasses are used in `_PyUnicode_Equal...
authorDennis Sweeney <36520290+sweeneyde@users.noreply.github.com>
Sun, 30 Oct 2022 18:30:08 +0000 (14:30 -0400)
committerGitHub <noreply@github.com>
Sun, 30 Oct 2022 18:30:08 +0000 (14:30 -0400)
commit5efe2eead3b385da4f838a9687b186b21dc01659
tree8762bc671e7fbeffd845c80f9a355ea12598c124
parenta55bd6f884daeed28c3db1a117fdfc30c5143b2d
[3.11] gh-98783: Fix crashes when `str` subclasses are used in `_PyUnicode_Equal` (GH-98806) (#98871)

* gh-98783: Fix crashes when `str` subclasses are used in `_PyUnicode_Equal` (GH-98806)
(cherry picked from commit 76f989dc3e668d15b3ec9a90bf6530276530acac)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Lib/test/test_descr.py
Lib/test/test_long.py
Misc/NEWS.d/next/Core and Builtins/2022-10-28-14-52-55.gh-issue-98783.iG0kMs.rst [new file with mode: 0644]
Objects/unicodeobject.c