◐ Shell
clean mode source ↗

[3.11] gh-91321: Fix compatibility with C++ older than C++11 (#93784) by vstinner · Pull Request #93802 · python/cpython

* Fix the compatibility of the Python C API with C++ older than C++11.
* _Py_NULL is only defined as nullptr on C++11 and newer.

(cherry picked from commit 4caf5c2)

* test_cppext now builds the C++ extension with setuptools.
* Add @test.support.requires_venv_with_pip.

(cherry picked from commit ca0cc9c)

@bedevere-bot mentioned this pull request

Jun 14, 2022

@vstinner vstinner marked this pull request as ready for review

June 14, 2022 12:11