-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
bpo-45325: Add a new 'p' parameter to Py_BuildValue to convert an integer into a Python bool #28634
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
Conversation
01df4ef
to
5ef0d15
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but it would be interested to see if/how this feature would be useful in the existing code: https://bugs.python.org/issue45325#msg402900
When you're done making the requested changes, leave the comment: And if you don't make the requested changes, you will be poked with soft cushions! |
This PR is stale because it has been open for 30 days with no activity. |
@pablogsal: Do you plan to update your PR? |
Yep, I just time :) |
@brandtbucher can you review again? |
I have rebased and updated the PR. |
…eger into a Python bool
This PR was merged, but the discussion on #89488 was not finished. I have concerns that this is a dangerous feature. |
https://bugs.python.org/issue45325