]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-91320: Fix more old-style cast warnings in C++ (#93285)
authorVictor Stinner <vstinner@python.org>
Thu, 2 Jun 2022 22:59:57 +0000 (00:59 +0200)
committerGitHub <noreply@github.com>
Thu, 2 Jun 2022 22:59:57 +0000 (00:59 +0200)
commit941d7054c1f73aa097bdc4e55ede819c8f123819
tree2ce64d3584520c268d2e71d947efba71cd4d8fdd
parent069c96f84ccd302436be180c8628289cc0efa977
gh-91320: Fix more old-style cast warnings in C++ (#93285)

Use _PyObject_CAST() in the public C API to fix C++ compiler
warnings: "use of old-style cast" (clang -Wold-style-cast).
Include/boolobject.h
Include/ceval.h
Include/pyerrors.h