thobbs/pure-sasl

Support for python 3.4

Closed this issue · 3 comments

Hi,

I'm trying out I get the following error:

File "/opt/pyvirtualenv/py_3.4_dj_1.9/lib/python3.4/site-packages/puresasl/client.py", line 15, in wrapped
return f(self, args, *kwargs)
File "/opt/pyvirtualenv/py_3.4_dj_1.9/lib/python3.4/site-packages/puresasl/client.py", line 141, in process
return self._chosen_mech.process(challenge)
File "/opt/pyvirtualenv/py_3.4_dj_1.9/lib/python3.4/site-packages/puresasl/mechanisms.py", line 407, in process
setattr(self, key, challenge_dict[key])
TypeError: attribute name must be string, not 'bytes'

Unfortunately, I haven't had time to add support for Python 3, so I'm not surprised by this error. If you're interested in adding support for Python 3, I can offer advice and review any pull requests.

@nikksbagul I'm thinking about picking this up. Just checking to see if you've done any work on it. (?)

This was resolved by #12