summaryrefslogtreecommitdiffstats
path: root/Python/thread_pthread.h
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-05-12 00:01:35 (GMT)
committerGitHub <noreply@github.com>2022-05-12 00:01:35 (GMT)
commit6e1a214426f968cd759ebd06e1a3f9d06ab32d7c (patch)
tree220dc387ad50ce01000616c4ae6ca6ca44dd29e2 /Python/thread_pthread.h
parenta1bef8c2e305178fae2ff90b5772e785a97d2201 (diff)
downloadcpython-6e1a214426f968cd759ebd06e1a3f9d06ab32d7c.zip
cpython-6e1a214426f968cd759ebd06e1a3f9d06ab32d7c.tar.gz
cpython-6e1a214426f968cd759ebd06e1a3f9d06ab32d7c.tar.bz2
gh-89653: PEP 670: unicodeobject.h uses _Py_CAST() (GH-92696) (GH-92703)
Use _Py_CAST() and _Py_STATIC_CAST() in macros wrapping static inline functions of unicodeobject.h. Change also the kind type from unsigned int to int: same parameter type than PyUnicode_FromKindAndData(). The limited API version 3.11 no longer casts arguments to expected types. (cherry picked from commit d0c9353a79c2003385c83892db5dfd4e443474c9) Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Python/thread_pthread.h')
0 files changed, 0 insertions, 0 deletions