Skip to content

Helper functions for non-optional integers should fail if the value is None #642

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

Merged
merged 5 commits into from
Apr 17, 2025

Conversation

bretambrose
Copy link
Contributor

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@sfod
Copy link
Contributor

sfod commented Apr 8, 2025

Shouldn't PyObject_IsTrue and PyObject_GetAttrAsIntEnum also handle Py_None explicitly?

@bretambrose
Copy link
Contributor Author

Shouldn't PyObject_IsTrue and PyObject_GetAttrAsIntEnum also handle Py_None explicitly?

I updated PyObject_GetAttrAsBool and PyObject_GetAttrAsIntEnum

@bretambrose bretambrose merged commit 0a9b3c5 into main Apr 17, 2025
63 checks passed
@bretambrose bretambrose deleted the RequiredIntsNone branch April 17, 2025 20:51
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

3 participants