A reported difference in object lifetime between two coroutines could not be reproduced on four CPython versions. Here is what actually holds a coroutine's locals, and what asyncio is free to retain.
Share this article
Pythoncoroutine framegarbage-collectionpython-asyncioreference countingweak-references
Comments