mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #21057: TextIOWrapper now allows the underlying binary stream's read() or read1() method to return an arbitrary bytes-like object (such as a memoryview).
Patch by Nikolaus Rath.
This commit is contained in:
parent
92c4d45326
commit
b8503896ad
3 changed files with 52 additions and 14 deletions
|
@ -60,6 +60,10 @@ Core and Builtins
|
|||
Library
|
||||
-------
|
||||
|
||||
- Issue #21057: TextIOWrapper now allows the underlying binary stream's
|
||||
read() or read1() method to return an arbitrary bytes-like object
|
||||
(such as a memoryview). Patch by Nikolaus Rath.
|
||||
|
||||
- Issue #20951: SSLSocket.send() now raises either SSLWantReadError or
|
||||
SSLWantWriteError on a non-blocking socket if the operation would block.
|
||||
Previously, it would return 0. Patch by Nikolaus Rath.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue