mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #27736: Prevent segfault after interpreter re-initialization due
to ref count problem introduced in code for Issue #27038 in 3.6.0a3. Patch by Xiang Zhang.
This commit is contained in:
parent
652bad4f4a
commit
eb3be66b3a
2 changed files with 6 additions and 0 deletions
|
@ -57,6 +57,10 @@ Core and Builtins
|
|||
Library
|
||||
-------
|
||||
|
||||
- Issue #27736: Prevent segfault after interpreter re-initialization due
|
||||
to ref count problem introduced in code for Issue #27038 in 3.6.0a3.
|
||||
Patch by Xiang Zhang.
|
||||
|
||||
- Issue #12345: Add mathemathcal constant tau to math and cmath. See also
|
||||
PEP 628.
|
||||
|
||||
|
|
|
@ -13355,6 +13355,8 @@ INITFUNC(void)
|
|||
Py_DECREF(unicode);
|
||||
}
|
||||
PyModule_AddObject(m, "_have_functions", list);
|
||||
|
||||
Py_INCREF((PyObject *) &DirEntryType);
|
||||
PyModule_AddObject(m, "DirEntry", (PyObject *)&DirEntryType);
|
||||
|
||||
initialized = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue