diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-07-11 15:04:41 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-07-11 15:04:41 (GMT) |
commit | b28ed92dd0e46db1ba14d76375c7b0a7186249e3 (patch) | |
tree | 30146855fbb0a9717b85591143b3f0d60a5dfa5e /Misc | |
parent | 0d63f1228de60b9b4d0fcb765a18eabc41295127 (diff) | |
download | cpython-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/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |