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

improve error reporting for Python bindings #45

Merged
merged 1 commit into from
Dec 21, 2023

Conversation

fanosta
Copy link
Contributor

@fanosta fanosta commented Dec 21, 2023

This pull request improves the exceptions thrown by the Python bindings. (I'm creating a separate PR, because this changes the API in a minor way).

According to the Python Documentation the SystemError exception should only be thrown if the interpreter encounters an internal error. I think ValueError works better here. Also, I changed a message that was probably copy-pasted wrong.

@msoos msoos merged commit a1eecee into meelgroup:master Dec 21, 2023
5 checks passed
@msoos
Copy link
Collaborator

msoos commented Dec 21, 2023

OK, I'm releasing a new version, so new pip module will be released :)

@msoos
Copy link
Collaborator

msoos commented Dec 21, 2023

Release will appear on PIP as module version ApproxMC 4.1.22. Thanks again!!

@fanosta fanosta mentioned this pull request Dec 22, 2023
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.

2 participants