diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-12-05 13:16:14 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-05 13:16:14 -0800 |
commit | ec8c06bc28b29b62d31b953e54f1d8d8535faa80 (patch) | |
tree | 96eb04b0a2930f4431d2bdeb60c94c81ccc17bc8 /Lib/test/inspect_stock_annotations.py | |
parent | e5075986a7bbc4b1f6b1b3fc85f18501d3b48ec4 (diff) | |
download | cpython-git-ec8c06bc28b29b62d31b953e54f1d8d8535faa80.tar.gz |
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 'Lib/test/inspect_stock_annotations.py')
0 files changed, 0 insertions, 0 deletions