tweepy/tweepy — pull request #285 by drevicko (2013-04-28 08:50:12+00:00)
Title: added timeout to REST api 

Added a timeout parameter to the api constructor with default 60s and set timeout to this value when creating HTTPConnection and HTTPSConnection in binder.py

I believe it's as simple as that, but if I've missed something let me know.

I've not written any tests, though the code runs ok (the changes are pretty trivial). I'm writing a phd so pretty time poor, and I'm not really setup to run tests - if anyone listening is able to test the timeout without too much effort, that'd be great..)

With any luck this adresses bug report #283