Author bar.harel
Recipients asvetlov, bar.harel, yselivanov
Date 2018-02-13.21:30:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1518557402.2.0.467229070634.issue32841@psf.upfronthosting.co.za>
In-reply-to
Content
Hey guys,

A week after a serious asyncio.Lock bug, I found another bug that makes asyncio.Condition ignore and prevent cancellation in some cases due to an "except: pass" which tbh is a little embarrassing.

What happens is that during the time it takes to get back a conditional lock after notifying it, asyncio completely ignores all cancellations sent to the waiting task.

le_bug.py: Contains the bug
le_patch.diff: Contains a very simple fix (will send a pull on Github too)
le_meme.jpg: Contains my face after debugging this for 4 hours

Yuri, I hope you didn't miss me during this week ;-)

-- Bar
History
Date User Action Args
2018-02-13 21:30:02bar.harelsetrecipients: + bar.harel, asvetlov, yselivanov
2018-02-13 21:30:02bar.harelsetmessageid: <1518557402.2.0.467229070634.issue32841@psf.upfronthosting.co.za>
2018-02-13 21:30:02bar.harellinkissue32841 messages
2018-02-13 21:30:02bar.harelcreate