Skip to content

[mypyc] Add internal import for _PyUnicode_CheckConsistency for py 3.13 - #19045

Merged
JukkaL merged 1 commit into
python:masterfrom
svalentin:check-consistency
May 6, 2025
Merged

[mypyc] Add internal import for _PyUnicode_CheckConsistency for py 3.13#19045
JukkaL merged 1 commit into
python:masterfrom
svalentin:check-consistency

Conversation

@svalentin

Copy link
Copy Markdown
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
@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