bpo-41994: Fix refcount issues in Python/import.c (GH-22632)

https://bugs.python.org/issue41994
This commit is contained in:
Serhiy Storchaka 2021-01-12 16:43:32 +02:00 committed by GitHub
parent 11d13e83ab
commit 4db8988420
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 51 additions and 63 deletions

View file

@ -5,11 +5,6 @@
extern "C" {
#endif
PyAPI_FUNC(PyObject *) _PyImport_FindBuiltin(
PyThreadState *tstate,
const char *name /* UTF-8 encoded string */
);
#ifdef HAVE_FORK
extern PyStatus _PyImport_ReInitLock(void);
#endif