summaryrefslogtreecommitdiff
path: root/subprojects/pycairo.wrap
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2023-01-27 17:33:26 +0100
committerChristoph Reiter <reiter.christoph@gmail.com>2023-01-27 17:35:29 +0100
commit02bc8a51c572e0720eb3cb8c0e056287197b02f0 (patch)
treea1d73ebdffaa5d975ab55f0b2866d83a00663750 /subprojects/pycairo.wrap
parent36dc79774142ebfc353b53a7fc20d98ef4e454a5 (diff)
downloadpygobject-02bc8a51c572e0720eb3cb8c0e056287197b02f0.tar.gz
Port to Py_TRASHCAN_BEGIN
Py_TRASHCAN_SAFE_BEGIN and Py_TRASHCAN_SAFE_END are deprecated since Python 3.11 and result in a deprecation warning when building against Python 3.11. This follows the suggested migration to Py_TRASHCAN_BEGIN and Py_TRASHCAN_END in https://docs.python.org/3/whatsnew/3.11.html Py_TRASHCAN_BEGIN only exists since Python 3.8, while we still support 3.7, so also use the suggested macro to support older Python versions.
Diffstat (limited to 'subprojects/pycairo.wrap')
0 files changed, 0 insertions, 0 deletions