commit | 4ffde90dccd741b04a448f2e44f0b82a41b6fe96 | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Wed Nov 17 13:59:19 2021 -0800 |
committer | GitHub <noreply@github.com> | Wed Nov 17 22:59:19 2021 +0100 |
tree | 30aa631cbe2d67a0799fff78b03ca6f04807260c | |
parent | 1079b3e3cb3eba7062e174ecc6c0ab20c2d0722e [diff] |
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>