-
Notifications
You must be signed in to change notification settings - Fork 468
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Python3 support #53
Conversation
I thought the API was only python2, but no: googleapis/google-api-python-client#3. |
I couldn't make it work for Python 2.7, can you check it?
With Python 3.4.3, I get:
|
Interesting, it should work for Python2. I will commit a much simpler workaround. As for Python 3.4.3, I suppose that is a Unix error (with the whole Unicode vs bytes distinction in Python3). I have been testing it on Windows, so that was why Python3 failed on Linux. This should work though. If not, let me know and I'll try to fix it. |
It works, thx! Maybe some auxiliar funcions can be written instead of inline coding, but ok, there is always time to do that :) |
Might want to update the readme now that Python 3 is supported. On Mon, Aug 10, 2015 at 1:30 PM, Arnau Sanchez [email protected]
|
indeed: 68d643c |
I added Python3 support while trying to maintain Python2 support as well. The only major changes to the code base consist of adding "." to relative imports as Python3 required, modifying the decode since Python3 no longer has that feature (since everything switched to Python3) and changing a single exception's syntax. If there is anything else I need to do to add Python 3 support let me know.