Commit 333f14f
committed
[mypyc] Add internal import for _PyUnicode_CheckConsistency for py 3.13
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...1 parent daf8922 commit 333f14f
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
8 | 14 | | |
9 | 15 | | |
10 | 16 | | |
| |||
182 | 188 | | |
183 | 189 | | |
184 | 190 | | |
| 191 | + | |
185 | 192 | | |
| 193 | + | |
186 | 194 | | |
187 | 195 | | |
188 | 196 | | |
| |||
0 commit comments