]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45831: _Py_DumpASCII() uses a single write() call if possible (GH-29596)
authorVictor Stinner <vstinner@python.org>
Wed, 17 Nov 2021 20:12:20 +0000 (21:12 +0100)
committerGitHub <noreply@github.com>
Wed, 17 Nov 2021 20:12:20 +0000 (21:12 +0100)
commitb919d8105c4d77f00509b6d3ab2073f09db640de
tree868130697a285fa007cd902d91d66ad9953a410a
parente002bbc6cce637171fb2b1391ffeca8643a13843
bpo-45831: _Py_DumpASCII() uses a single write() call if possible (GH-29596)

If the string is ASCII only and doesn't need to escape characters,
write the whole string with a single write() syscall.
Misc/NEWS.d/next/Library/2021-11-17-19-25-37.bpo-45831.9-TojK.rst [new file with mode: 0644]
Python/traceback.c