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

Don't use try/catch to dispatch catalog overloads. #275

Merged
merged 1 commit into from Sep 11, 2017

Conversation

TallJimbo
Copy link
Member

Function calls to pybind11-wrapped methods that fail due to bad
argument types can take a very long time to raise an exception,
because the exception message involves stringifying some very big
objects (especially Catalogs).

Function calls to pybind11-wrapped methods that fail due to bad
argument types can take a very long time to raise an exception,
because the exception message involves stringifying some very big
objects (especially Catalogs).
Copy link
Contributor

@erykoff erykoff left a comment

Choose a reason for hiding this comment

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

Looks elegant and fewer lines of code!

@TallJimbo TallJimbo merged commit 5a65471 into master Sep 11, 2017
@ktlim ktlim deleted the tickets/DM-11871 branch August 25, 2018 06:44
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.

None yet

2 participants