diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2023-01-27 17:33:26 +0100 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2023-01-27 17:35:29 +0100 |
commit | 02bc8a51c572e0720eb3cb8c0e056287197b02f0 (patch) | |
tree | a1d73ebdffaa5d975ab55f0b2866d83a00663750 /gi/pygi-info.c | |
parent | 36dc79774142ebfc353b53a7fc20d98ef4e454a5 (diff) | |
download | pygobject-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 'gi/pygi-info.c')
0 files changed, 0 insertions, 0 deletions