Update requests dependency, add str py2/3 compat, __repr__ definition, removed unicode2utf8 & encode static methods, update HISTORY

@ryanmcgrath Let me know if you're okay with the removal of
Twython.unicode2utf8 and Twython.encode. I moved Twython.encode to
_encode in helpers.py (only place being used is
Twython.construct_api_url) If it's python 2 and unicode then we encode
it, otherwise return the original value

[ci skip]
This commit is contained in:
Mike Helmick 2013-05-21 11:41:43 -04:00
parent 3dbef22cee
commit c7bce9189f
6 changed files with 27 additions and 21 deletions

View file

@ -9,6 +9,9 @@ History
- Added "transparent" parameters for making requests, meaning users can pass bool values (True, False) to Twython methods and we convert your params in the background to satisfy the Twitter API. Also, file objects can now be passed seamlessly (see examples in README and in /examples dir for details)
- Callback URL is optional in ``get_authentication_tokens`` to accomedate those using OOB authorization (non web clients)
- Not part of the python package, but tests are now available along with Travis CI hooks
- Added ``__repr__`` definition for Twython, when calling only returning <Twython: APP_KEY>
- Removed ``Twython.unicode2utf8`` and ``Twython.encode`` methods
- Cleaned up ``Twython.construct_api_url``, uses "transparent" parameters (see 4th bullet in this version for explaination)
2.9.1 (2013-05-04)
++++++++++++++++++