Issue 34638: Avoid circular references in asyncio streams (original) (raw)

Issue34638

Created on 2018-09-11 23:47 by asvetlov, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 9201 merged asvetlov,2018-09-11 23:47
Messages (2)
msg325095 - (view) Author: Andrew Svetlov (asvetlov) * (Python committer) Date: 2018-09-11 23:47
Now we have a cross-reference between asyncio stream reader and protocol. It prevents objects deletion on ref-counting and requires a garbage collector run to destroy the stream.
msg325164 - (view) Author: Andrew Svetlov (asvetlov) * (Python committer) Date: 2018-09-12 18:43
New changeset a5d1eb8d8b7add31b5f5d9bbb31cee1a491b2c08 by Andrew Svetlov in branch 'master': bpo-34638: Store a weak reference to stream reader to break strong references loop (GH-9201) https://github.com/python/cpython/commit/a5d1eb8d8b7add31b5f5d9bbb31cee1a491b2c08
History
Date User Action Args
2022-04-11 14:59:05 admin set github: 78819
2018-09-12 18:43:38 asvetlov set status: open -> closedresolution: fixedstage: patch review -> resolved
2018-09-12 18:43:07 asvetlov set messages: +
2018-09-11 23:47:52 asvetlov set keywords: + patchstage: patch reviewpull_requests: + <pull%5Frequest8635>
2018-09-11 23:47:26 asvetlov create