Радар на почту

Release a BytesIO Buffer View Before Resizing or Closing Its Stream

DEV · 16.11.2026 · 17:00

A buffer view and a byte snapshot have different lifetimes. Code that keeps a view of an in-memory stream may still read or modify its bytes, but the stream cannot be resized or closed…

Читать в источнике