mirror of
https://github.com/python/cpython.git
synced 2025-09-28 19:25:27 +00:00
Remove the Py_TPFLAGS_HAVE_GC from the _ctypes.COMError type.
Fixes issue #4433; reviewed by Benjamin Peterson.
This commit is contained in:
parent
bea0081fb4
commit
60e5f5e78f
2 changed files with 4 additions and 2 deletions
|
@ -24,6 +24,9 @@ Core and Builtins
|
||||||
Library
|
Library
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
- Issue #4433: Fixed an access violation when garbage collecting
|
||||||
|
_ctypes.COMError instances.
|
||||||
|
|
||||||
- Issue #4429: Fixed UnicodeDecodeError in ctypes.
|
- Issue #4429: Fixed UnicodeDecodeError in ctypes.
|
||||||
|
|
||||||
- Issue #4373: Corrected a potential reference leak in the pickle module and
|
- Issue #4373: Corrected a potential reference leak in the pickle module and
|
||||||
|
|
|
@ -5097,8 +5097,7 @@ static PyTypeObject PyComError_Type = {
|
||||||
0, /* tp_getattro */
|
0, /* tp_getattro */
|
||||||
0, /* tp_setattro */
|
0, /* tp_setattro */
|
||||||
0, /* tp_as_buffer */
|
0, /* tp_as_buffer */
|
||||||
Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE
|
Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /* tp_flags */
|
||||||
| Py_TPFLAGS_HAVE_GC, /* tp_flags */
|
|
||||||
PyDoc_STR(comerror_doc), /* tp_doc */
|
PyDoc_STR(comerror_doc), /* tp_doc */
|
||||||
0, /* tp_traverse */
|
0, /* tp_traverse */
|
||||||
0, /* tp_clear */
|
0, /* tp_clear */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue