datasift/datasift-python — pull request #6 by danfairs (2012-04-03 14:15:51+00:00)
Title: Hotfix/exception swallowing

This change allows exceptions from user-provided stream event handlers to bubble up into application code, rather than being interpreted as connection failures. It also provides tests.

Note that this introduces a test dependency (not runtime dependency) on the `mock` library, which is established with test_requires in setup.py. (Note that mock has been made part of the Python 3 standard library, so is a pretty safe thing to depend on.)