diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-12-05 21:39:22 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-05 21:39:22 (GMT) |
commit | a726f747e659efed674db1ebf57218c20d8c0c39 (patch) | |
tree | 772cdbde80f74e5a42d36eb476100dab5bcbce25 /Python/ceval.c | |
parent | f3a58cece6c7346355397a3e7848b0df38a0e20d (diff) | |
download | cpython-a726f747e659efed674db1ebf57218c20d8c0c39.zip cpython-a726f747e659efed674db1ebf57218c20d8c0c39.tar.gz cpython-a726f747e659efed674db1ebf57218c20d8c0c39.tar.bz2 |
gh-100001: Omit control characters in http.server stderr logs. (GH-100002)
Replace control characters in http.server.BaseHTTPRequestHandler.log_message with an escaped \xHH sequence to avoid causing problems for the terminal the output is printed to.
(cherry picked from commit d8ab0a4dfa48f881b4ac9ab857d2e9de42f72828)
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Diffstat (limited to 'Python/ceval.c')
0 files changed, 0 insertions, 0 deletions