]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-106030: Miscellaneous fixes in Python/suggestions.c (GH-106… (GH-106039)
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 23 Jun 2023 18:13:07 +0000 (21:13 +0300)
committerGitHub <noreply@github.com>
Fri, 23 Jun 2023 18:13:07 +0000 (21:13 +0300)
commit26d87fd5c7a2f94ad0a9c5385722a13a9c75fa78
treec2a071a05e91d105b1bc5d4c7364de3164592921
parent15f4bba7a795de20cc945e8aa61c458a7b30aaa2
[3.11] gh-106030: Miscellaneous fixes in Python/suggestions.c (GH-106… (GH-106039)

* PyUnicode_CompareWithASCIIString() only works if the second argument
  is ASCII string.
* Refleak in get_suggestions_for_name_error.
* Add some missing error checks.

(cherry picked from commit c8c162ef5294cddb7ac75fe93ab918e5661c68ee)
Python/suggestions.c