mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
merge 3.3 (#22517)
This commit is contained in:
commit
c44eb73473
3 changed files with 11 additions and 0 deletions
|
@ -2297,6 +2297,8 @@ static void
|
|||
bufferedrwpair_dealloc(rwpair *self)
|
||||
{
|
||||
_PyObject_GC_UNTRACK(self);
|
||||
if (self->weakreflist != NULL)
|
||||
PyObject_ClearWeakRefs((PyObject *)self);
|
||||
Py_CLEAR(self->reader);
|
||||
Py_CLEAR(self->writer);
|
||||
Py_CLEAR(self->dict);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue