Skip to content

[3.11] gh-106030: Miscellaneous fixes in Python/suggestions.c (GH-106…#106039

Merged
serhiy-storchaka merged 1 commit intopython:3.11from
serhiy-storchaka:backport-c8c162e-3.11
Jun 23, 2023
Merged

[3.11] gh-106030: Miscellaneous fixes in Python/suggestions.c (GH-106…#106039
serhiy-storchaka merged 1 commit intopython:3.11from
serhiy-storchaka:backport-c8c162e-3.11

Conversation

@serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Jun 23, 2023

…031)

  • 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 c8c162e)

…ythonGH-106031)

* 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 c8c162e)

Co-authored-by: Serhiy Storchaka <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants