Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Merged
merged 1 commit into from
Jun 14, 2022
Merged

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

merged 1 commit into from
Jun 14, 2022

Conversation

vstinner
Copy link
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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants