Issue #13322: Fix BufferedWriter.write() to ensure that BlockingIOError is
raised when the wrapped raw file is non-blocking and the write would block.
Previous code assumed that the raw write() would raise BlockingIOError, but
RawIOBase.write() is defined to returned None when the call would block.
Patch by sbt.
diff --git a/Misc/ACKS b/Misc/ACKS
index e6d9865..44e92c1 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -735,6 +735,7 @@
 Mark Sapiro
 Ty Sarna
 Ben Sayer
+sbt
 Michael Scharf
 Neil Schemenauer
 David Scherer
diff --git a/Misc/NEWS b/Misc/NEWS
index 1ed049c..0f4e04b 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -79,6 +79,12 @@
 Library
 -------
 
+- Issue #13322: Fix BufferedWriter.write() to ensure that BlockingIOError is
+  raised when the wrapped raw file is non-blocking and the write would block.
+  Previous code assumed that the raw write() would raise BlockingIOError, but
+  RawIOBase.write() is defined to returned None when the call would block.
+  Patch by sbt.
+
 - Issue #13358: HTMLParser now calls handle_data only once for each CDATA.
 
 - Issue #4147: minidom's toprettyxml no longer adds whitespace around a text