You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The TwitterMixin is broken in python 3. When the response is returned an access_token dictionary is created with binary keys and values. This seems to be fine until the _oauth_get_user is called as it assumes the dictionary keys are strings and return value is also a string.
I have patched the routine as follows, but not sure if there are other problems lurking around due to access tokens being bytes.
The TwitterMixin is broken in python 3. When the response is returned an access_token dictionary is created with binary keys and values. This seems to be fine until the _oauth_get_user is called as it assumes the dictionary keys are strings and return value is also a string.
I have patched the routine as follows, but not sure if there are other problems lurking around due to access tokens being bytes.
don't know the code well enough to know whether its better to have access_tokens all converted to strings or leave them in byte format.
The text was updated successfully, but these errors were encountered: