| commit | db388df1d9aff02f791fe01c7c2b28d73982dce6 | [log] [tgz] |
|---|---|---|
| author | Victor Stinner <vstinner@python.org> | Fri May 13 11:49:56 2022 +0200 |
| committer | GitHub <noreply@github.com> | Fri May 13 11:49:56 2022 +0200 |
| tree | 2036b25a568296310b1dc64cdb52d3e42a084176 | |
| parent | d81d57e9598dea741e049f3876ccd87072a38906 [diff] |
gh-89653: PEP 670: Convert PyUnicode_KIND() macro to function (#92705) In the limited C API version 3.12, PyUnicode_KIND() is now implemented as a static inline function. Keep the macro for the regular C API and for the limited C API version 3.11 and older to prevent introducing new compiler warnings. Update _decimal.c and stringlib/eq.h for PyUnicode_KIND().