gh-119011: Return an empty tuple on type_get_type_params as special case for PyType_Type#119313
gh-119011: Return an empty tuple on type_get_type_params as special case for PyType_Type#119313mdkcore0 wants to merge 2 commits intopython:mainfrom
Conversation
|
It would like to add some tests for this, as it is my first contribution, any directions on how to do that? |
…cial case for PyType_Type
Misc/NEWS.d/next/Core and Builtins/2024-05-21-11-51-54.gh-issue-119011.Ja5dwc.rst
Outdated
Show resolved
Hide resolved
…e-119011.Ja5dwc.rst
carljm
left a comment
There was a problem hiding this comment.
Thanks for the PR!
Would it be possible to add a test for this?
|
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 |
First pull-request for cpython; fixes an issue where
functools.update_wrapperwas not returning a tuple for__type_params__.functools.update_wrapperdoes not work withtype#119011