]> granicus.if.org Git - python/commit
bpo-36635: Add _testinternalcapi module (GH-12841)
authorVictor Stinner <vstinner@redhat.com>
Thu, 18 Apr 2019 09:37:26 +0000 (11:37 +0200)
committerGitHub <noreply@github.com>
Thu, 18 Apr 2019 09:37:26 +0000 (11:37 +0200)
commit23bace26ec265557697cf3b578b361c178070cd5
tree41d99b73d99a1f8295ed6177113ed7796c8ed784
parent11efd79076559cc6e4034bb36db73e5e4293f02d
bpo-36635: Add _testinternalcapi module (GH-12841)

Add a new _testinternalcapi module to test the internal C API.

Move _Py_GetConfigsAsDict() function to the internal C API:
_testembed now uses _testinternalcapi to access the function.
13 files changed:
Include/cpython/coreconfig.h
Include/internal/pycore_coreconfig.h
Lib/test/pythoninfo.py
Misc/NEWS.d/next/Tests/2019-04-15-16-55-49.bpo-36635.__FTq9.rst [new file with mode: 0644]
Modules/Setup
Modules/_testcapimodule.c
Modules/_testinternalcapi.c [new file with mode: 0644]
PCbuild/_testinternalcapi.vcxproj [new file with mode: 0644]
PCbuild/_testinternalcapi.vcxproj.filters [new file with mode: 0644]
PCbuild/pcbuild.proj
PCbuild/pcbuild.sln
Programs/_testembed.c
setup.py