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 njs
Recipients asvetlov, bar.harel, njs, yselivanov
Date 2018-02-13.23:00:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1518562851.08.0.467229070634.issue32841@psf.upfronthosting.co.za>
In-reply-to
Content
Interesting case! This is super subtle. I think the patch is correct though.

(In Trio this is one of the cases where we use shielding: https://github.com/python-trio/trio/blob/f48d8922dfe2118bfaaf9a85f2524e58146ba369/trio/_sync.py#L749-L752 . But asyncio.shield has different semantics -- it still delivers the CancelledError to the caller, which is no good in this case.)
History
Date User Action Args
2018-02-13 23:00:51njssetrecipients: + njs, asvetlov, yselivanov, bar.harel
2018-02-13 23:00:51njssetmessageid: <1518562851.08.0.467229070634.issue32841@psf.upfronthosting.co.za>
2018-02-13 23:00:51njslinkissue32841 messages
2018-02-13 23:00:51njscreate