Addresses most changes and issues with Twitter Spring cleanup 2012. Documentation
update on methods, started move to docs in RST format. Exceptions set to eventually
be deprecated (along with search functions).
Conflicts:
twython/twython.py
* We don't need RequestException anymore.
* I changed TwythonError to raise TwythonRateLimitError instead of
TwythonAPIError since TwythonRateLimitError is more verbose and in the
belief we should deprecate TwythonAPILimit and ultimately remove it in
2.0
* And I updated the version to 1.7.0 -- I feel like development as far
as versioning seems like it's going fast, but versioning is versioning
and I'm following Twitter's rhythm of versioning
<major>.<minor>.<bugfix>, minor changing when minor features or
significant fixes have been added. In this case, TwythonRateLimitError
should start being caught in place of TwythonAPILimit
Just in case Twitter releases something in their API and a developer
wants to implement it on their app, but we haven't gotten around to
putting it in Twython yet. :)
- requests is now the default url/http library, thanks to Mike Helmick
- Initial pass at a Streaming API is now included (Twython.stream()), due to how easy
requests makes it. Would actually be sad if we *didn't* have this... thanks, Kenneth. >_>;
- Return of shortenURL, for people who may have relied on it before.
- Deleted streaming handler that existed before but never got implemented fully.
- Exceptions now prefixed with Twython, but brought back originals with a more verbose error directing
people to new ones, deprecate fully in future.
- Twython3k now has an OAuth fix for callback_urls, though it still relies on httplib2. Thanks @jbouvier!
- Added a list of contributors to the README files, something which I should have done long ago. Thank you all.
* Removed shortenUrl since Twitter ALWAYS shortens the URL to a t.co,
anyways.
* Since removing shortenUrl, no need for urllib2 anymore
* No need for httplib2 anymore, either
* You can now update user profile image or user profile background
image thanks to the Python requests library.
* Updated setup to include 'requests' as a required package
* Changed to beginning hashbang to use the users environment python
version
* try/except for parse_qsl, removed try/excepts where it used
cgi.parse_qsl/urlparse.parse_sql
* Lines 161/162 (using self.consumer/token) <- this addition ended up
not being needed, but it doesn't hurt.
* updateProfileBackgroundImage() - param 'tile' is now True/False
rather than a string "true" or string "false"
* removed encode_multipart_formdata func, not needed any longer