]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-112020: Rework socketserver examples to be correct (GH-129741) (#129744)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 6 Feb 2025 17:53:30 +0000 (18:53 +0100)
committerGitHub <noreply@github.com>
Thu, 6 Feb 2025 17:53:30 +0000 (17:53 +0000)
commit7ff8e8dbd5a22af7c28abdbae856bab744e93b2c
tree7b93353b67ff4359fdb66b62b395ddf095e1c12b
parentde9380558b868258b9aed09beff4b64d8099b1b2
[3.12] gh-112020: Rework socketserver examples to be correct (GH-129741) (#129744)

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