New submission from JIanqiu Tao <zko...@outlook.com>:
The resource used by asynchronous generator can't be released properly when works with "asend" method. Besides, in Python 3.7-, a RuntimeError was raised when asyncio.run complete, but the message is puzzling: RuntimeError: can't send non-None value to a just-started coroutine In Python 3.8+, No Exception showed. Python3.5 unsupport yield in async function, so it seems no affect? ---------- components: Interpreter Core, asyncio files: leak.py messages: 373221 nosy: asvetlov, yselivanov, zkonge priority: normal severity: normal status: open title: Asynchronous generator memory leak type: resource usage versions: Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9 Added file: https://bugs.python.org/file49302/leak.py _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41229> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com