]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-91321: Fix compatibility with C++ older than C++11 (#93784)
authorVictor Stinner <vstinner@python.org>
Tue, 14 Jun 2022 09:43:08 +0000 (11:43 +0200)
committerGitHub <noreply@github.com>
Tue, 14 Jun 2022 09:43:08 +0000 (11:43 +0200)
commit4caf5c2753f1aa28d6f4bc1aa377975fd2a62331
treef04937769184fe84dfeda70dcfc58202c39cf693
parent3597c129413a86f805beca78b7c72a20b5bf801c
gh-91321: Fix compatibility with C++ older than C++11 (#93784)

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.
Include/pyport.h
Lib/test/_testcppext.cpp
Lib/test/setup_testcppext.py
Lib/test/test_cppext.py
Misc/NEWS.d/next/C API/2022-06-13-21-37-31.gh-issue-91321.DgJFvS.rst [new file with mode: 0644]