Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch from deprecated telnet to telnetlib3 #410

Merged
merged 5 commits into from
Nov 7, 2024

Conversation

leftys
Copy link
Contributor

@leftys leftys commented Oct 24, 2024

fixes #409

tests pass and aiomonitor works for my project, but I have no idea how the telnet.py module should work so I was unable to test more properly

@achimnol
Copy link
Member

achimnol commented Nov 7, 2024

After #411, I will reapply this PR!

@achimnol achimnol changed the title switch from deprecated telnet to telnetlib3 Switch from deprecated telnet to telnetlib3 Nov 7, 2024
@achimnol achimnol added the dependencies Pull requests that update a dependency file label Nov 7, 2024
@achimnol
Copy link
Member

achimnol commented Nov 7, 2024

Our telnet module relies on telnetlib to access protocol constants, not its inner logic.
The protocol implementation is our own one to handle a minimal terminal-type negotiation to make prompt_toolkit working correctly.

@achimnol achimnol added this pull request to the merge queue Nov 7, 2024
@achimnol achimnol removed this pull request from the merge queue due to a manual request Nov 7, 2024
@achimnol achimnol added this pull request to the merge queue Nov 7, 2024
Merged via the queue into aio-libs:main with commit fecdc20 Nov 7, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

telnetlib to be deprecated in python3.14
2 participants