Skip to content
This repository was archived by the owner on Jul 11, 2025. It is now read-only.

Conversation

curtiscook
Copy link

Closing sockets are getting double logged at an error level due to #139, so thought I'd try to clean this code up a little bit by getting rid of the breaks, noops, and using exceptions as control flow

break
else:
try:
# BlockingIOError is a PY2 catchall that should not be caught
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BlockingIOError was actually not getting reraised before, so I'm unsure if this is actually the correct intended behavior

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant