Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 6, 2025

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