Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pybind: avoid "exception 'int' object is not iterable" #11532

Merged
merged 1 commit into from
Oct 24, 2016

Commits on Oct 20, 2016

  1. pybind: return a tuple in run_in_thread() if interrupted

    Callers expect run_in_thread() to return a tuple, but it
    returns an int. When interrupt the function it would raise
    an iterable exception.
    
    This patch fix the bug, and it would just output a message
    like: "Error EINTR: Interrupted!"
    
    Signed-off-by: Javeme <javaloveme@gmail.com>
    javeme committed Oct 20, 2016
    Configuration menu
    Copy the full SHA
    ce0d9e4 View commit details
    Browse the repository at this point in the history