Skip to content
This repository has been archived by the owner on Aug 20, 2022. It is now read-only.

Python3 compatibility #45

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Python3 compatibility #45

wants to merge 8 commits into from

Conversation

gtnx
Copy link

@gtnx gtnx commented Mar 29, 2016

What has bee handled:

  • Use of dict.items() instead of dict.iteritems
  • Enforce unicode as input of json.loads
  • Handling Exception syntax
  • Implement __iter__ and __len__ for abstract classes
  • Use http.client in python3
  • Use urllib.parse.quote and urllib.parse.urlencode in python3
  • httplib2 and requests transports have been tested
  • twisted transport has not

- Remove of iteritems
- Force unicode as the input of json.loads
- Handle the compatibility of py2 and py2 httplib header case handling
...
@gtnx gtnx mentioned this pull request Mar 29, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant