Skip to content

Should it be possible to use custom errors with FromPyObject? #4931

Answered by Icxolu
glevco asked this question in Questions
Discussion options

You must be logged in to vote

I would say the current state is mostly for historical reasons. Adding an associated Error type to FromPyObject also came up here #4390 (comment) in its rework. I think the conclusion from that was that we want to do it, but it will likely not make it in 0.24. Perhaps in 0.25, let's see.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@glevco
Comment options

Answer selected by glevco
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants