Staging
v0.5.1
https://github.com/python/cpython
Revision 0c15e508baec7e542933db2b31ea950a646cd968 authored by Miss Islington (bot) on 22 November 2018, 14:25:25 UTC, committed by GitHub on 22 November 2018, 14:25:25 UTC

os_read_impl() now also truncates the size to _PY_READ_MAX
on macOS, to avoid to allocate a larger buffer even if _Py_read() is
limited to _PY_READ_MAX bytes (ex: INT_MAX on macOS).
(cherry picked from commit 9a0d7a7648547ffb77144bf2480155f6d7940dea)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
1 parent c487cf9
History
Tip revision: 0c15e508baec7e542933db2b31ea950a646cd968 authored by Miss Islington (bot) on 22 November 2018, 14:25:25 UTC
bpo-24658: os.read() reuses _PY_READ_MAX (GH-10657)
Tip revision: 0c15e50
File Mode Size
c-api
data
distributing
distutils
extending
faq
howto
includes
install
installing
library
reference
tools
tutorial
using
whatsnew
Makefile -rw-r--r-- 7.3 KB
README.rst -rw-r--r-- 4.3 KB
about.rst -rw-r--r-- 1.5 KB
bugs.rst -rw-r--r-- 4.2 KB
conf.py -rw-r--r-- 6.1 KB
contents.rst -rw-r--r-- 538 bytes
copyright.rst -rw-r--r-- 451 bytes
docutils.conf -rw-r--r-- 56 bytes
glossary.rst -rw-r--r-- 51.2 KB
license.rst -rw-r--r-- 46.2 KB
make.bat -rw-r--r-- 5.2 KB

README.rst

back to top