Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Example for reaching timeout error #264
while seq not in self._sync_replies: self.sync_recv_and_dispatch(timeout, True)
In order to time out, it should read something like this instead:
while seq not in self._sync_replies: if not self.sync_recv_and_dispatch(timeout, True): raise TimeoutError()
I will wait a few days before merging this (so I have some time to ponder about possible undesirable implications).