]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #21932: os.read() now uses a :c:func:`Py_ssize_t` type instead of
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 11 Jul 2014 15:04:41 +0000 (17:04 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Fri, 11 Jul 2014 15:04:41 +0000 (17:04 +0200)
commitb28ed92dd0e46db1ba14d76375c7b0a7186249e3
tree30146855fbb0a9717b85591143b3f0d60a5dfa5e
parent0d63f1228de60b9b4d0fcb765a18eabc41295127
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.
Lib/test/test_os.py
Misc/NEWS
Modules/posixmodule.c