Sync python-sockets-tutorial with the updated tutorial - #854
Open
realpython-bot wants to merge 1 commit into
Open
realpython-bot wants to merge 1 commit into
realpython-bot wants to merge 1 commit into
Conversation
…ogramming in Python (Guide)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Companion sync for the maintenance update of Socket Programming in Python (Guide).
What changed
python-sockets-tutorial/README.md: the stated requirement moves from Python 3.6 or later to Python 3.14 or later, matching the article's updateddependenciesfield (python==3.14) and the setup step, which now tells readers to have Python 3.14 or above installed. Python 3.6 reached end of life in December 2021.No code changes were needed: the eight scripts in the folder still match the article's code blocks verbatim, and the article's only code-side edit this cycle was a REPL
socket.getaddrinfo()output block that has no twin in this folder. There is norequirements.txthere — the tutorial is standard-library only, so there is nothing else to pin.How it was verified
On Python 3.14.6:
echo-server.py+echo-client.py— client receivedb'Hello, world'.multiconn-server.py+multiconn-client.py(2 connections) — both connections echoed and closed cleanly.app-server.py+app-client.py—search morpheusandsearch ringboth returned the expected results.uvx ruff@0.14.1 format --check python-sockets-tutorial— 8 files already formatted.uvx ruff@0.14.1 check python-sockets-tutorial— all checks passed.Links