Repository navigation
Release BytesIO and StringIO buffers on close - #9230
Conversation
Assisted-by: Codex:GPT-6
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
|
Thank you so much! |
Summary
BytesIOandStringIO, even if the stream object remains alive.BytesIOviews still prevent close and resizing.Performance
Resident memory after closing and retaining 16 streams, each written with 8 MiB of data.
Windows 11 x64
BytesIOStringIODebian 12 amd64
BytesIOStringIOAI assistance
Written with Codex (GPT-6), reviewed by a human before submission.
Summary by CodeRabbit