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.

Author fantix
Recipients abacabadabacaba, asvetlov, fantix, lukasz.langa, ned.deily, yselivanov
Date 2020-05-09.22:52:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1589064726.36.0.0263551289158.issue30064@roundup.psfhosted.org>
In-reply-to
Content
Following the discussion - looks like `add_reader()` will cancel the previous `handle` on the same `fd` if found, so I think it is reasonable to solve this cancellation-race issue by checking if the `handle` is cancelled as shown in the attached patch (tests in uvloop passed with this patch). WDTY?
History
Date User Action Args
2020-05-09 22:52:06fantixsetrecipients: + fantix, ned.deily, asvetlov, abacabadabacaba, lukasz.langa, yselivanov
2020-05-09 22:52:06fantixsetmessageid: <1589064726.36.0.0263551289158.issue30064@roundup.psfhosted.org>
2020-05-09 22:52:06fantixlinkissue30064 messages
2020-05-09 22:52:06fantixcreate