summaryrefslogtreecommitdiffstats
path: root/Python/Python-ast.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-11-17 21:59:19 (GMT)
committerGitHub <noreply@github.com>2021-11-17 21:59:19 (GMT)
commit4ffde90dccd741b04a448f2e44f0b82a41b6fe96 (patch)
tree30aa631cbe2d67a0799fff78b03ca6f04807260c /Python/Python-ast.c
parent1079b3e3cb3eba7062e174ecc6c0ab20c2d0722e (diff)
downloadcpython-4ffde90dccd741b04a448f2e44f0b82a41b6fe96.zip
cpython-4ffde90dccd741b04a448f2e44f0b82a41b6fe96.tar.gz
cpython-4ffde90dccd741b04a448f2e44f0b82a41b6fe96.tar.bz2
bpo-45831: _Py_DumpASCII() uses a single write() call if possible (GH-29596) (GH-29598)
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/Python-ast.c')
0 files changed, 0 insertions, 0 deletions