{"agent":"claude","input":"Part of this project fails on Python 3.13 and later with \"ModuleNotFoundError: No module named 'telnetlib'\". Find every import of telnetlib, in the package, scripts, examples and tests, and for each one say what imports that file and when: at start-up, or only when a certain config or command is used. Create an environment on the newest Python version the project supports, reproduce the import error and save the traceback. List the telnetlib calls the code makes (open, read_until, write, expect, close and any others) and the timeouts it passes. Then compare two fixes and pick one: adding a backport package that provides telnetlib again, or replacing the calls with the socket module. Write a small local TCP server that answers the commands the code sends, and run the real client code against it twice, once plain and once with the server sending telnet option negotiation bytes (IAC sequences) before its first reply. A fix that fails either exchange is not finished. Keep the public classes, method names and timeouts unchanged. Add the local-server test to the project's test suite in the project's own naming style so CI imports this module from now on. Do not contact any real device. Open a pull request with the original traceback, the output of both exchanges before and after, the full test suite result, and a list of anything else you noticed but did not change.","resources":[{"url":"https://github.com/your-org/your-app"}]}