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>
M
Miss Islington (bot) committed
4ffde90dccd741b04a448f2e44f0b82a41b6fe96
Parent: 1079b3e
Committed by GitHub <noreply@github.com>
on 11/17/2021, 9:59:19 PM