Skip to content

Call check_signals in the scan to support signal handlers #1459

Description

@gatesn

https://docs.rs/pyo3/latest/pyo3/marker/struct.Python.html#method.check_signals

Ideally, we call this at various points in our Rust code, I think a nice place would be for in the "next" of a record batch reader? This will raise a PyErr if a signal has been caught and allow the program to exit, e.g. ctrl+c

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions