Skip to content
This repository was archived by the owner on Apr 9, 2021. It is now read-only.

Python 2 and 3 compatibility - #28

Merged
davemarchevsky merged 1 commit into
bitly:masterfrom
jsocol:2and3
Dec 18, 2013
Merged

davemarchevsky merged 1 commit into
bitly:masterfrom
jsocol:2and3

Conversation

@jsocol

@jsocol jsocol commented Nov 25, 2013

Copy link
Copy Markdown
Contributor
  • Drop PyCURL, since it's not Py3k compatible.
  • Drop bitly_http module, just inline urllib(2) code.
  • Steal *_types lists from six.
  • Update isinstance calls.
  • Update excepts.
  • Decode response body as utf-8.
  • Drop simplejson import, just use json
  • Should be compatible with >=2.6.

- Drop PyCURL, since it's not Py3k compatible.
- Drop bitly_http module, just inline urllib(2) code.
- Steal *_types lists from six.
- Update isinstance calls.
- Update excepts.
- Decode response body as utf-8.
@jsocol

jsocol commented Dec 18, 2013

Copy link
Copy Markdown
Contributor Author

@bitly/appdev RFR

Comment thread bitly_api/__init__.py

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this need to be updated to @jsocol? Not sure what the convention is

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typically this stays as the original author or maintainer and something like a CONTRIBUTORS file would have people who come later. I'm not too worried about it, unless Jehiah would rather have his bitly email there.

davemarchevsky added a commit that referenced this pull request Dec 18, 2013
Python 2 and 3 compatibility
@davemarchevsky
davemarchevsky merged commit 510ef04 into bitly:master Dec 18, 2013
deletedcu added a commit to deletedcu/bitly-api-python that referenced this pull request May 17, 2019
Python 2 and 3 compatibility
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants