Skip to content

[3.11] gh-91321: Fix compatibility with C++ older than C++11 (#93784) - #93802

Merged
vstinner merged 1 commit into
python:3.11from
vstinner:nullptr311
Jun 14, 2022
Merged

vstinner merged 1 commit into
python:3.11from
vstinner:nullptr311

Conversation

@vstinner

Copy link
Copy Markdown
Member
  • 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)

* 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)
@vstinner
vstinner marked this pull request as ready for review June 14, 2022 12:11
@vstinner
vstinner requested a review from vsajip as a code owner June 14, 2022 12:11
@vstinner
vstinner merged commit ef591cf into python:3.11 Jun 14, 2022
@vstinner
vstinner deleted the nullptr311 branch June 14, 2022 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants