Nathaniel Smith <> added the comment:

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:
 . But asyncio.shield has different semantics -- it still delivers the 
CancelledError to the caller, which is no good in this case.)

nosy: +njs

Python tracker <>
Python-bugs-list mailing list

Reply via email to