mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
[3.11] gh-86493: Fix possible leaks in some modules initialization (GH-106768) (GH-106855) (GH-106863)
[3.11] [3.12] gh-86493: Fix possible leaks in some modules initialization (GH-106768) (GH-106855) Fix _ssl, _stat, _testinternalcapi, _threadmodule, cmath, math, posix, time. (cherry picked from commit3e65baee72). (cherry picked from commita423ddbdea)
This commit is contained in:
parent
0c47ed7bbf
commit
fced79f91e
10 changed files with 45 additions and 62 deletions
|
|
@ -103,5 +103,6 @@ PyAPI_FUNC(PyObject * const *) _PyArg_UnpackKeywordsWithVararg(
|
|||
(minpos), (maxpos), (minkw), (buf)))
|
||||
|
||||
PyAPI_FUNC(PyObject *) _PyModule_CreateInitialized(PyModuleDef*, int apiver);
|
||||
PyAPI_FUNC(int) _PyModule_Add(PyObject *, const char *, PyObject *);
|
||||
|
||||
PyAPI_DATA(const char *) _Py_PackageContext;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue