KEMBAR78
[mypyc] Add internal import for _PyUnicode_CheckConsistency for py 3.13 by svalentin · Pull Request #19045 · python/mypy · GitHub
Skip to content

Conversation

svalentin
Copy link
Collaborator

In debug build of Python 3.13, mypyc fails to build due to _PyUnicode_CheckConsistency being moved to internal. Let's include this, but only for Python 3.13 and only for debug builds. Technically, the assert doesn't need to be behind a Py_DEBUG, but just in case...

In debug build of Python 3.13, mypyc fails to build due to
`_PyUnicode_CheckConsistency` being moved to internal.
Let's include this, but only for Python 3.13 and only for debug builds.
Technically, the assert doesn't need to be behind a Py_DEBUG, but just
in case...
@svalentin svalentin requested a review from JukkaL May 6, 2025 16:50
@JukkaL JukkaL merged commit 61b3664 into python:master May 6, 2025
12 checks passed
@svalentin svalentin deleted the check-consistency branch May 8, 2025 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants