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

bpo-45855: document that no_block has no use anymore in PyCapsule_Import #29665

Merged
merged 1 commit into from Dec 12, 2021
Merged

bpo-45855: document that no_block has no use anymore in PyCapsule_Import #29665

merged 1 commit into from Dec 12, 2021

Conversation

birkenfeld
Copy link
Member

@birkenfeld birkenfeld commented Nov 20, 2021

and also remove the switch in the implementation.

https://bugs.python.org/issue45855

Copy link
Contributor

@asvetlov asvetlov left a comment

Choose a reason for hiding this comment

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

LGTM!

@birkenfeld
Copy link
Member Author

Thanks for the review! I'm not up to date on NEWS policy; I don't think this needs an entry, can I just set the "skip news" label?

@asvetlov
Copy link
Contributor

One sentence NEWS doesn't harm. Usually, we skip news for very trivial changes only, e.g. typo fixing.

@asvetlov
Copy link
Contributor

Superseded by #30046

@asvetlov asvetlov closed this Dec 12, 2021
@birkenfeld
Copy link
Member Author

Uh no, it is not superseded. The other PR just changed a couple of calls, among others it "fixed" the location I changed in capsule.c to call the same function twice in an if-else instead of removing the branch.

@birkenfeld birkenfeld reopened this Dec 12, 2021
…mport

and also remove the switch in the implementation.
Copy link
Contributor

@asvetlov asvetlov left a comment

Choose a reason for hiding this comment

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

Oh, sorry.

LGTM, please feel free to merge.

@birkenfeld
Copy link
Member Author

Thanks!

@birkenfeld birkenfeld merged commit f4095e5 into python:main Dec 12, 2021
@birkenfeld birkenfeld deleted the capsule_import branch December 12, 2021 09:49
@bedevere-bot
Copy link

@birkenfeld: Please replace # with GH- in the commit message next time. Thanks!

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

4 participants