ptftpd
ptftpd copied to clipboard
python3 experimental
I need this package for python3 so download it using:
pip install git+https://github.com/mpetazzoni/ptftpd@master
While downloading the file using the get method here it throws following error:
lib/python3.5/site-packages/ptftplib/proto.py", line 139, in createRRQ
struct.error: argument for 's' must be a bytes object
Is this package is ready for python3 or not ?
Python3 support is still under development. There has been some recent contributions to improve Python3 compatibility but it might not all be there yet. If you have time, I'd love to review PRs that continue on this path and make ptftpd work with Python3!
The just-released version 1.3 (on PyPI), or master
, should work now with Python 3. Thanks for reporting!
It seems that python3 is still not supported. There's various errors in dhcp:
ptftplib/dhcpserver.py", line 175, in __init__
if ord(pkt[9]) != IP_UDP_PROTO:
TypeError: ord() expected string of length 1, but int found