[3.14] gh-132551: make io.BytesIO thread safe (GH-132616)
#138551
Merged
io.BytesIO thread safe (GH-132616)
#138551