Open stephenpardy opened 7 years ago
Yep, just checked that too. Imports and prints can be fixed quite easily using the 2to3 tool. But there are also differences in byte/string handling (see example below). These can be fixed by usage of six
`--------------------------------------------------------------------------- TypeError Traceback (most recent call last) /home/lupinix/uws-client/venv/lib64/python3.5/base64.py in _input_type_check(s) 517 try: --> 518 m = memoryview(s) 519 except TypeError as err:
TypeError: memoryview: a bytes-like object is required, not 'str'
The above exception was the direct cause of the following exception:
TypeError Traceback (most recent call last)
I managed to kludge together a fix for the byte-string issue, and switch the imports and print statements, but then I got a 403 error when trying to submit a request:
UWSError: No permission to access this resource
I checked the credentials on the online version and confirmed that I could actually login. Perhaps related to the byte-string issue, or something else?
I see a pull request that with the description "Python3 support", could this be integrated? Right now, with the python3 installation (python3 -m pip install uws-client) something is not working properly:
'''
File ".../python3.8/site-packages/uws/UWS/init.py", line 2, in
'''
The module client is there, though.
Does not currently support Python3. First noticed when tried to import client:
ImportError Traceback (most recent call last)