diff options
author | Kumar Aditya <kumaraditya@python.org> | 2024-10-25 12:49:30 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-25 12:49:30 (GMT) |
commit | cae853e3b44cd5cb033b904e163c490dd28bc30a (patch) | |
tree | 31d8533074f271cf1d4710552171c8b54e62512c /Lib/test/test_annotationlib.py | |
parent | ebcc578dff47b1dcffb634923bedc5361c8f29f6 (diff) | |
download | cpython-cae853e3b44cd5cb033b904e163c490dd28bc30a.zip cpython-cae853e3b44cd5cb033b904e163c490dd28bc30a.tar.gz cpython-cae853e3b44cd5cb033b904e163c490dd28bc30a.tar.bz2 |
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.
Diffstat (limited to 'Lib/test/test_annotationlib.py')
0 files changed, 0 insertions, 0 deletions