Message 340034 - Python tracker

Message340034

Author gescheit
Recipients asvetlov, gescheit, yselivanov
Date 2019-04-12.12:38:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1555072688.4.0.270726893934.issue36613@roundup.psfhosted.org>
In-reply-to
Content
Attached script shows unexpected behavior of the wait() function.
The wait_ function adds done callback on every call and removes it only if a waiter is successfully awaited. In case of CancelledError exception during "await waiter", callbacks are being accumulated infinitely in task._callbacks.
History
Date User Action Args
2019-04-12 12:38:08gescheitsetrecipients: + gescheit, asvetlov, yselivanov
2019-04-12 12:38:08gescheitsetmessageid: <1555072688.4.0.270726893934.issue36613@roundup.psfhosted.org>
2019-04-12 12:38:08gescheitlinkissue36613 messages
2019-04-12 12:38:08gescheitcreate