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

Add custom C++ exception handling in Cython #1

Open
wants to merge 5 commits into
base: feature/nary-reduce-node
Choose a base branch
from

Conversation

wbernoudy
Copy link
Owner

@wbernoudy wbernoudy commented Nov 15, 2024

This allows mapping arbitrary C++ exceptions to custom Python exceptions. This is useful for the NaryReduceNode constructor where we want to differentiate between normal std::invalid_argument exceptions and special ones that have to do with the handling of the expression passed in.

@wbernoudy wbernoudy force-pushed the experimental/cython-custom-exception-handling branch from a43a9b7 to 8c9b2eb Compare November 15, 2024 07:08
@wbernoudy wbernoudy force-pushed the experimental/cython-custom-exception-handling branch from 8c9b2eb to 74b75cb Compare November 15, 2024 07:08
@wbernoudy wbernoudy force-pushed the feature/nary-reduce-node branch from fb3ba6f to 15a5390 Compare November 20, 2024 21:23
@wbernoudy wbernoudy force-pushed the feature/nary-reduce-node branch 3 times, most recently from d3c4f79 to aacee34 Compare December 5, 2024 21:20
@wbernoudy wbernoudy force-pushed the feature/nary-reduce-node branch from 69bbd65 to be9f5ee Compare December 13, 2024 04:07
@wbernoudy wbernoudy force-pushed the feature/nary-reduce-node branch from 3a45e03 to f60e6d7 Compare January 10, 2025 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant