You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
GC of unclosed io.BuffererdRWPair after .readinto results in unraisable exception #138720
In BufferedRWPairTest.test_readinto a BufferedRWPair is created but not explicitly closed which results in it being Garbage Collected (GC). During GC the destruction order often results in an unraisable exception. This can be reliably reproduced by modifying the test to end with support.gc_collect(). The BufferedRWPair should cleanup reliably in this case.
Activity
pythongh-138720: Make Buffered closed check match flush
pythongh-138720: Remove load_tests in test_io.test_general
pythongh-138720: Remove load_tests in test_io.test_general
pythongh-138720: Remove load_tests in test_io.test_general
gh-138720: Make Buffered closed check match flush (GH-138724)
Workaround for python/cpython#138720