Closed kobzar closed 7 years ago
Just change '/xx' to b'/xx' And all working now.
Another Python 3 compatibility issue (tested with 3.6.0):
File "/.../lib/python3.6/site-packages/apns.py", line 218
except ssl.SSLError, err:
^
SyntaxError: invalid syntax
Also, not sure what version of Python 3 is supported, might be good to add that somewhere to the README.md.
This is something that is in mind, but I don't have time to follow-up right now.
@jd20 the code you're quoting doesn't exist any more on the master branch, but the version of the library on PyPi is out of date (see https://github.com/djacobs/PyAPNs/issues/163). The master version from GitHub should be usable on Python 3.
Have a lot of errors on python3.4 with str & byte convert. Example, when i try used Frame() or feedback_server.items() a was error
For second trouble i fixed it simply: apns.py
But cant fixed the same for Frame()