Make Python 3.3 work again.
Default to 1.1 for all domains, not just api.twitter.com.
1.1 as default in stream. Give up on simplejson.
Version 1.9.2.
use relative imports in api.py for twitter_globals and auth
Merge pull request #137 from MrMitch/relative_imports

use relative imports in api.py for twitter_globals and auth
Fix twitter stream error under python 3

This fixes the "AttributeError: '_io.BufferedReader' object has no
attribute '_sock'" error when trying to create a twitter stream with
python3
Merge pull request #138 from DarkDefender/master

Fix twitter stream under python 3
This fixes the "AttributeError: '_io.BufferedReader' object has no attribute '_sock'" error when trying to create a twitter stream with python3.

There are two issues (#70 and #108) that are fixed with this commit.

I have written a twitter script in python 3 with your twitter lib so I would be really glad if you can merge this and then create a new point release of the lib.

That way I can release the script without having to tell the users to manually patch the twitter lib.

I'm sorry if you've already read my reply to #108. But I would really like this to get merged and released ASAP.
Fix search test to use 1.1 API.
Version 1.9.3.
Do not wrap str objects, Python 3.3 freaks out. Fixes #142.
Version 1.9.4.
add StalkR as initial contributor of archiver and follow
Add support for the OAuth2 application-only flow supported by /1.1/search/tweets, /oauth2/token and others.
Merge pull request #159 from StalkR/author

add StalkR as initial contributor of archiver and follow
Merge pull request #160 from nicksloan/master

Fixes sixohsix/twitter#154: application-only authentication with oauth2 support
Fixes sixohsix/twitter#154: application-only authentication with oauth2 support. Tested on python 2.7 and python 3.3.
Update some of the cmdline to support API 1.1.
Fix some tests.
Adapt code to archive DMs

* Add argument to get DMs
* Adapt statuses_portion()
* Adapt statuses() to optionally handle DMs
* Adapt main() to pull down DMs if instructed
Allow storage of date in ISO (RFC 3339) format