[New-bugs-announce] [issue21163] asyncio Task Possibly Incorrectly Garbage Collected
Richard Kiss
report at bugs.python.org
Sat Apr 5 23:10:31 CEST 2014
New submission from Richard Kiss:
Some tasks created via asyncio are vanishing because there is no reference to their resultant futures.
This behaviour does not occur in Python 3.3.3 with asyncio-0.4.1.
Also, doing a gc.collect() immediately after creating the tasks seems to fix the problem.
Attachment also available at https://gist.github.com/richardkiss/9988156
----------
components: Library (Lib)
files: asyncio-gc-issue.py
hgrepos: 231
messages: 215633
nosy: richard.kiss
priority: normal
severity: normal
status: open
title: asyncio Task Possibly Incorrectly Garbage Collected
type: behavior
versions: Python 3.4, Python 3.5
Added file: http://bugs.python.org/file34741/asyncio-gc-issue.py
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21163>
_______________________________________
More information about the New-bugs-announce
mailing list