summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-07-11 15:04:41 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-07-11 15:04:41 (GMT)
commitb28ed92dd0e46db1ba14d76375c7b0a7186249e3 (patch)
tree30146855fbb0a9717b85591143b3f0d60a5dfa5e /Misc
parent0d63f1228de60b9b4d0fcb765a18eabc41295127 (diff)
downloadcpython-b28ed92dd0e46db1ba14d76375c7b0a7186249e3.zip
cpython-b28ed92dd0e46db1ba14d76375c7b0a7186249e3.tar.gz
cpython-b28ed92dd0e46db1ba14d76375c7b0a7186249e3.tar.bz2
Issue #21932: os.read() now uses a :c:func:`Py_ssize_t` type instead of
:c:type:`int` for the size to support reading more than 2 GB at once. On Windows, the size is truncted to INT_MAX. As any call to os.read(), the OS may read less bytes than the number of requested bytes.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index d651ffd..16f0e6d 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -108,6 +108,11 @@ Core and Builtins
Library
-------
+- Issue #21932: os.read() now uses a :c:func:`Py_ssize_t` type instead of
+ :c:type:`int` for the size to support reading more than 2 GB at once. On
+ Windows, the size is truncted to INT_MAX. As any call to os.read(), the OS
+ may read less bytes than the number of requested bytes.
+
- Issue #21942: Fixed source file viewing in pydoc's server mode on Windows.
- Issue #11259: asynchat.async_chat().set_terminator() now raises a ValueError