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

Deprecation error for reader.close and no documentation available #76

Open
alex4200 opened this issue Jun 9, 2023 · 0 comments
Open

Comments

@alex4200
Copy link

alex4200 commented Jun 9, 2023

When using telnetlib3 I tried to close an open connection using

reader.close()
writer.close()

which triggered a deprecation warning

Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\telnetlib3\stream_reader.py:393: DeprecationWarning: connection_closed deprecated, use feed_eof() instead

However, the documentation on close and feed_eof does not seem to exist in the documentation. That makes it a bit hard to understand why not use the usual close method to close a connection, and what feed_eof does and how this can be properly used.

  • Python: 3.10.11
  • Windows 10
  • telnetlib3: 2.0.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants