diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-12-05 23:10:10 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-05 23:10:10 (GMT) |
| commit | b5bdf6a90d0c2a9c12b671340f7776e233ef625a (patch) | |
| tree | c75ae02327e0dbdf282e2f6cb3ebb2755d712662 /Python/pythonrun.c | |
| parent | b0b590be9597fd5919228d251812dd54145f70a7 (diff) | |
| download | cpython-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
