commit | b28ed92dd0e46db1ba14d76375c7b0a7186249e3 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Fri Jul 11 17:04:41 2014 +0200 |
committer | Victor Stinner <victor.stinner@gmail.com> | Fri Jul 11 17:04:41 2014 +0200 |
tree | 30146855fbb0a9717b85591143b3f0d60a5dfa5e | |
parent | 0d63f1228de60b9b4d0fcb765a18eabc41295127 [diff] |
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.