You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Observed Behavior:
When running the provided code, it attempts to import the telnetlib module, which results in the following error:
Traceback (most recent call last):
File "/Users/wangtao/Developer/xmir-patcher/menu.py", line 9, in <module>
import gateway
File "/Users/wangtao/Developer/xmir-patcher/gateway.py", line 23, in <module>
import telnetlib
ModuleNotFoundError: No module named 'telnetlib'
Would you consider updating the code to accommodate the removal of telnetlib in Python 3.13? Alternatively, could you provide guidance or recommendations for adapting the provided script for compatibility with Python 3.13?
Thank you for your work and support!
The text was updated successfully, but these errors were encountered:
Environment Information:
sh run.sh
Observed Behavior:
When running the provided code, it attempts to import the
telnetlib
module, which results in the following error:Reason for the Issue:
The
telnetlib
module was deprecated in Python 3.11 and has been removed entirely in Python 3.13, as per [PEP 594](https://www.python.org/dev/peps/pep-0594/). Reference: [Python 3.13 telnetlib documentation](https://docs.python.org/3.13/library/telnetlib.html).Steps Taken to Address the Issue:
Python 3.13.1
).telnetlib
in Python 3.13.Suggested Fix:
The current implementation should be updated to replace the use of
telnetlib
with a third-party library such as:Would you consider updating the code to accommodate the removal of
telnetlib
in Python 3.13? Alternatively, could you provide guidance or recommendations for adapting the provided script for compatibility with Python 3.13?Thank you for your work and support!
The text was updated successfully, but these errors were encountered: