Closes #21886, #21447: Fix a race condition in asyncio when setting the result
of a Future with call_soon(). Add an helper, a private method, to set the result only if the future was not cancelled.
V
Victor Stinner committed
a9acbe82e7822e555b669139fdd8a7cb7667492c
Parent: 5021cb5