This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: improve asyncio debugging
Type: enhancement Stage: resolved
Components: asyncio Versions: Python 3.7
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: asvetlov, barry, tarek, yselivanov
Priority: normal Keywords:

Created on 2017-05-26 08:23 by tarek, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (2)
msg294536 - (view) Author: Tarek Ziadé (tarek) * (Python committer) Date: 2017-05-26 08:23
This is a very useful trick to understand why the loop cleanup generates  a lot of "Exception ignored in: <object repr() failed>"

https://github.com/python/asyncio/issues/423#issuecomment-268882753

Could we consider including it in Task.__del__ ?
msg416308 - (view) Author: Andrew Svetlov (asvetlov) * (Python committer) Date: 2022-03-29 23:48
asyncio doesn't crash with scary messages like "AttributeError: 'NoneType' object has no attribute '_PENDING'" now.
Checked with Python 3.9+
History
Date User Action Args
2022-04-11 14:58:46adminsetgithub: 74664
2022-03-29 23:48:23asvetlovsetstatus: open -> closed
resolution: out of date
messages: + msg416308

stage: resolved
2022-03-29 23:03:23iritkatrielsetnosy: + asvetlov
2017-05-26 14:42:34barrysetnosy: + barry
2017-05-26 08:23:42tarekcreate