datastax/python-driver — pull request #11 by mattrobenolt (2013-08-14 06:48:48+00:00)
Title: Stop asyncore loop from complaining about a bad socket

Stops:
```
Exception in thread event_loop:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 505, in run
self.__target(*self.__args, **self.__kwargs)
File "/Users/matt/Dropbox/python-driver/cassandra/io/asyncorereactor.py", line 27, in _run_loop
asyncore.loop(timeout=0.001, use_poll=True, count=None)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/asyncore.py", line 214, in loop
poll_fun(timeout, map)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/asyncore.py", line 144, in poll
r, w, e = select.select(r, w, e, timeout)
error: (9, 'Bad file descriptor')
```