summaryrefslogtreecommitdiffstats
path: root/Python/pystate.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-11-17 21:59:42 (GMT)
committerGitHub <noreply@github.com>2021-11-17 21:59:42 (GMT)
commitac89f8cab79800195687dd141de472f90c626ec3 (patch)
tree394fd842d019152025ba9497aee10339982ec4b3 /Python/pystate.c
parentfd206b680705de3e0408fd29c7943317563e61e1 (diff)
downloadcpython-ac89f8cab79800195687dd141de472f90c626ec3.zip
cpython-ac89f8cab79800195687dd141de472f90c626ec3.tar.gz
cpython-ac89f8cab79800195687dd141de472f90c626ec3.tar.bz2
bpo-45831: _Py_DumpASCII() uses a single write() call if possible (GH-29596) (GH-29597)
If the string is ASCII only and doesn't need to escape characters, write the whole string with a single write() syscall. (cherry picked from commit b919d8105c4d77f00509b6d3ab2073f09db640de) Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Python/pystate.c')
0 files changed, 0 insertions, 0 deletions