summaryrefslogtreecommitdiffstats
path: root/Include/internal
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-05-13 15:12:45 (GMT)
committerGitHub <noreply@github.com>2019-05-13 15:12:45 (GMT)
commit410b85a7f701be280eb15b0ca4fe116e86f1d008 (patch)
treed0b5d095a2cdc536798eb3780ccc14811a5bebb6 /Include/internal
parent2c10538d11fa9be9a1a9f21605861e10ec4fa207 (diff)
downloadcpython-410b85a7f701be280eb15b0ca4fe116e86f1d008.zip
cpython-410b85a7f701be280eb15b0ca4fe116e86f1d008.tar.gz
cpython-410b85a7f701be280eb15b0ca4fe116e86f1d008.tar.bz2
bpo-36900: import.c uses PyInterpreterState.core_config (GH-13278)
Move _PyImportZip_Init() to the internal C API and add an 'interp' parameter.
Diffstat (limited to 'Include/internal')
-rw-r--r--Include/internal/pycore_pylifecycle.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/internal/pycore_pylifecycle.h b/Include/internal/pycore_pylifecycle.h
index 7144bbc..0d83acd 100644
--- a/Include/internal/pycore_pylifecycle.h
+++ b/Include/internal/pycore_pylifecycle.h
@@ -54,6 +54,8 @@ extern int _PyFloat_Init(void);
extern _PyInitError _Py_HashRandomization_Init(const _PyCoreConfig *);
extern _PyInitError _PyTypes_Init(void);
+extern _PyInitError _PyImportZip_Init(PyInterpreterState *interp);
+
/* Various internal finalizers */