GH-125789: fix `fut._callbacks` to always return a copy of callbacks (#125922)
Fix `asyncio.Future._callbacks` to always return a copy of the internal list of callbacks to avoid mutation from user code affecting the internal state.
K
Kumar Aditya committed
cae853e3b44cd5cb033b904e163c490dd28bc30a
Parent: ebcc578
Committed by GitHub <noreply@github.com>
on 10/25/2024, 12:49:30 PM