google / gmail-oauth2-tools

Tools and sample code for authenticating to Gmail with OAuth2
Apache License 2.0
412 stars 211 forks source link

Make oauth2.py compatible with Python 3 and 2.7 #25

Closed micronn closed 1 year ago

micronn commented 4 years ago

This is another attempt to make the script compatible with both Python 3 and 2.7. I don't know why the previous pull requests were not merged.

I've done a simple usage tests with both python 2.7.18 and 3.7.7, and they worked well.

haozhou commented 4 years ago

I wonder if anyone has merge permission has plan to merge this PR?

davama commented 4 years ago

Just confirming that the changes worked! Thank you @micronn

Using Py3.8.3

drupol commented 3 years ago

Could be nice to have for FreeBSD !

junyer commented 1 year ago

Handled in commit 944cffd66df38863eb0252a8096961335e418e70.