diff options
author | Christian Tismer <[email protected]> | 2023-12-20 17:17:50 +0100 |
---|---|---|
committer | Christian Tismer <[email protected]> | 2023-12-21 10:54:38 +0100 |
commit | fe0a7c74236a737f2d8ee7b27399247a225c1c52 (patch) | |
tree | 1e5f4c4ac2e3a1613756ade756993ff99b60ac6a /sources/shiboken6/libshiboken/helper.cpp | |
parent | a4e4253a72a1ab600af8ed2b3b6306742ebab6ba (diff) |
PyPySide: Update to Python 3.10
Some newly omitted functions needed support.
Some tests should still be fixed in another commit.
Task-number: PYSIDE-535
Change-Id: I692417cdcf77373f37538c89b25e591cc4f301a6
Pick-to: 6.6
Reviewed-by: Qt CI Bot <[email protected]>
Reviewed-by: Friedemann Kleint <[email protected]>
Diffstat (limited to 'sources/shiboken6/libshiboken/helper.cpp')
-rw-r--r-- | sources/shiboken6/libshiboken/helper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/shiboken6/libshiboken/helper.cpp b/sources/shiboken6/libshiboken/helper.cpp index d2203fb43..9c75c00db 100644 --- a/sources/shiboken6/libshiboken/helper.cpp +++ b/sources/shiboken6/libshiboken/helper.cpp @@ -584,7 +584,7 @@ const char *typeNameOf(const char *typeIdName) return result; } -#if !defined(Py_LIMITED_API) && PY_VERSION_HEX >= 0x030A0000 +#if !defined(Py_LIMITED_API) && PY_VERSION_HEX >= 0x030A0000 && !defined(PYPY_VERSION) static int _getPyVerbose() { PyConfig config; @@ -597,7 +597,7 @@ int pyVerbose() { #ifdef Py_LIMITED_API return Pep_GetVerboseFlag(); -#elif PY_VERSION_HEX >= 0x030A0000 +#elif PY_VERSION_HEX >= 0x030A0000 && !defined(PYPY_VERSION) static const int result = _getPyVerbose(); return result; #else |