]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-112020: Rework socketserver examples to be correct (GH-129741) (#129743)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 6 Feb 2025 17:49:19 +0000 (18:49 +0100)
committerGitHub <noreply@github.com>
Thu, 6 Feb 2025 17:49:19 +0000 (17:49 +0000)
commitde84531a3ec5f1f4357983f2e95e0c614b2e744e
treec41b291f02411f378cf31e47a0c29544ce57ba39
parent0f7e6d78ea02781b3c6466218d422c99d73a4f62
[3.13] gh-112020: Rework socketserver examples to be correct (GH-129741) (#129743)

gh-112020: Rework socketserver examples to be correct.

Outdated code updated, the BaseRequestHandler example is now much more
illustrative instead of the bad idea of a single recv() call for TCP.

tested, they now work.
(cherry picked from commit 78377c788e02e91bf43d290d69317198a2e563fd)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
Doc/library/socketserver.rst