Staging
v0.8.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
Raw File
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
.bzrignore
.purify
autom4te.cache
config.log
config.cache
config.status
config.status.lineno
db_home
Makefile
buildno
python
build
Makefile.pre
platform
pybuilddir.txt
pyconfig.h
libpython*.a
libpython*.so*
python.exe
python-gdb.py
reflog.txt
tags
TAGS
.gdb_history
Doc/tools/sphinx
Doc/tools/jinja
Doc/tools/jinja2
Doc/tools/pygments
Doc/tools/docutils
Misc/python.pc
Modules/Setup
Modules/Setup.config
Modules/Setup.local
Modules/config.c
Modules/ld_so_aix
Parser/pgen
Lib/test/data/*
Lib/lib2to3/Grammar*.pickle
Lib/lib2to3/PatternGrammar*.pickle
__pycache__
.coverage
coverage/*
htmlcov/*
back to top