FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-94808: add tests covering `PyFunction_{Get,Set}Closure` by sobolevn · Pull Request #99429 · python/cpython · GitHub

/ cpython Public

gh-94808: add tests covering PyFunction_{Get,Set}Closure - #99429

Merged
encukou merged 4 commits into
python:mainfrom
sobolevn:cover-pyfunction-closure
Mar 20, 2024
Merged

gh-94808: add tests covering PyFunction_{Get,Set}Closure#99429
encukou merged 4 commits into
python:mainfrom
sobolevn:cover-pyfunction-closure

Conversation

sobolevn commented Nov 13, 2022
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

It was like this:

Now all branches are covered.

Comment thread Modules/_testcapimodule.c Outdated
Comment on lines +6017 to +6018
Py_INCREF(closure);
return closure;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality
Suggested change
Py_INCREF(closure);
return closure;
return Py_NewRef(closure);

kumaraditya303 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

This has merge conflicts now.

Copy link
Copy Markdown

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

encukou commented Mar 19, 2024

Copy link
Copy Markdown
Member

After a year, I took the liberty of updating to the current main branch, and fixed two nitpicks.

Copy link
Copy Markdown
Member

Sorry about that. Go ahead and merge!

Copy link
Copy Markdown
Member Author

@encukou thanks a lot for your help! I forgot about this PR a long time ago :)

encukou merged commit 8182319 into python:main Mar 20, 2024

encukou commented Mar 20, 2024

Copy link
Copy Markdown
Member

No problem, happy to help :)

Usually we backport test changes to reduce future conflicts, but since this already causes conflicts in 3.12, I'll skip the backport here.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL