Issue #22003: When initialized from a bytes object, io.BytesIO() now
defers making a copy until it is mutated, improving performance and
memory use on some use cases.
Patch by David Wilson.
diff --git a/Misc/ACKS b/Misc/ACKS
index c1c29d2..07b0647 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -1456,6 +1456,7 @@
Carol Willing
Steven Willis
Frank Willison
+David Wilson
Geoff Wilson
Greg V. Wilson
J Derek Wilson
diff --git a/Misc/NEWS b/Misc/NEWS
index 479fb93..10879e9 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -113,6 +113,10 @@
Library
-------
+- Issue #22003: When initialized from a bytes object, io.BytesIO() now
+ defers making a copy until it is mutated, improving performance and
+ memory use on some use cases. Patch by David Wilson.
+
- Issue #22018: On Windows, signal.set_wakeup_fd() now also supports sockets.
A side effect is that Python depends to the WinSock library.