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 2c3035c commit 1a667a4Copy full SHA for 1a667a4
Lib/test/test_io/test_memoryio.py
@@ -872,10 +872,9 @@ def __buffer__(self, flags):
872
self.assertRaises(BufferError, memio.write, TBuf(memio))
873
874
@support.cpython_only
875
- def test_uaf_buffer_writelines(self):
876
- # Prevent use-after-free when writelines() triggers a re-entrant call that
877
- # closes or mutates the BytesIO object.
878
- # See: https://github.com/python/cpython/issues/143378
+ def test_writelines_concurrent_mutation(self):
+ # Prevent crashes when buf.writelines() concurrently mutates 'buf'.
+ # See: https://github.com/python/cpython/issues/143378.
879
class TBuf:
880
def __init__(self, bio):
881
self.bio = bio
0 commit comments