Skip to content

Router.__call__ does not handle interrupted system calls in select #9

Description

@Ronen2

I'm integrating pyxs within a twisted base application.
I hit an issue where the select.select() call within Router.call was interrupted.
This call is within a try block without any except clause. It does not handle interrupted system calls within the select system call.
It seems that any error from select.select() would end up with a select.error exception which is not caught and the Router connection is terminated.
Is it right to catch such exception and re-issue the select.select() call?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions