We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b048fa commit 545f759Copy full SHA for 545f759
Lib/test/test_asyncio/test_futures.py
@@ -698,6 +698,10 @@ def test_future_del_segfault(self):
698
del fut._log_traceback
699
700
def test_callbacks_copy(self):
701
+ # See https://github.com/python/cpython/issues/125789
702
+ # In C implementation, the `_callbacks` attribute
703
+ # always returns a new list to avoid mutations of internal state
704
+
705
fut = self._new_future(loop=self.loop)
706
f1 = lambda _: 1
707
f2 = lambda _: 2
0 commit comments