[Python-checkins] [3.10] gh-100001: Remove doc typo, add versionadded (GH-100042) (#100044)

ambv webhook-mailer at python.org
Tue Dec 6 05:34:55 EST 2022


https://github.com/python/cpython/commit/b7ae1d22857c141ea4b0cc1f107e128596d02a94
commit: b7ae1d22857c141ea4b0cc1f107e128596d02a94
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: ambv <lukasz at langa.pl>
date: 2022-12-06T11:34:49+01:00
summary:

[3.10] gh-100001: Remove doc typo, add versionadded (GH-100042) (#100044)

(cherry picked from commit bed15f87eadc726122185cf41efcdda289f4a7b1)

Co-authored-by: Gregory P. Smith <greg at krypto.org>

files:
M Doc/library/http.server.rst

diff --git a/Doc/library/http.server.rst b/Doc/library/http.server.rst
index fd6d7cb4ee1c..8bd22eac831a 100644
--- a/Doc/library/http.server.rst
+++ b/Doc/library/http.server.rst
@@ -503,6 +503,8 @@ to be served.
 Earlier versions of Python did not scrub control characters from the
 log messages emitted to stderr from ``python -m http.server`` or the
 default :class:`BaseHTTPRequestHandler` ``.log_message``
-implementation. This could allow to remote clients connecting to your
+implementation. This could allow remote clients connecting to your
 server to send nefarious control codes to your terminal.
 
+.. versionadded:: 3.10.9
+   Control characters are scrubbed in stderr logs.



More information about the Python-checkins mailing list