summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-12-05 23:10:10 (GMT)
committerGitHub <noreply@github.com>2022-12-05 23:10:10 (GMT)
commitb5bdf6a90d0c2a9c12b671340f7776e233ef625a (patch)
treec75ae02327e0dbdf282e2f6cb3ebb2755d712662 /Python/pythonrun.c
parentb0b590be9597fd5919228d251812dd54145f70a7 (diff)
downloadcpython-b5bdf6a90d0c2a9c12b671340f7776e233ef625a.zip
cpython-b5bdf6a90d0c2a9c12b671340f7776e233ef625a.tar.gz
cpython-b5bdf6a90d0c2a9c12b671340f7776e233ef625a.tar.bz2
[3.7] gh-100001: Omit control characters in http.server stderr logs. (GH-100002) (GH-100034)
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/pythonrun.c')
0 files changed, 0 insertions, 0 deletions