SIGN IN SIGN UP

[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)
S
Serhiy Storchaka committed
26d87fd5c7a2f94ad0a9c5385722a13a9c75fa78
Parent: 15f4bba
Committed by GitHub <noreply@github.com> on 6/23/2023, 6:13:07 PM