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

gh-107880: Teach Argument Clinic to clone __init__ and __new__ methods by erlend-aasland · Pull Request #107885 · python/cpython · GitHub

/ cpython Public

gh-107880: Teach Argument Clinic to clone __init__ and __new__ methods - #107885

Merged
erlend-aasland merged 4 commits into
python:mainfrom
erlend-aasland:clinic/clone-init
Aug 13, 2023
Merged

erlend-aasland merged 4 commits into
python:mainfrom
erlend-aasland:clinic/clone-init

Conversation

erlend-aasland commented Aug 11, 2023
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Contributor

erlend-aasland changed the title WIP gh-107880: Teach Argument Clinic to clone __init__ and __new__ methods Aug 11, 2023

This comment was marked as outdated.

erlend-aasland marked this pull request as ready for review August 13, 2023 09:13

Copy link
Copy Markdown
Contributor Author

We should also check that it's possible to clone T1.__init__ = T2.__init__ (ditto for __new__), and also T1.meth = T2.__init__.

AlexWaygood left a comment

Copy link
Copy Markdown
Member

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

LGTM

erlend-aasland merged commit 9b75ada into python:main Aug 13, 2023
erlend-aasland deleted the clinic/clone-init branch August 13, 2023 10:13
erlend-aasland added a commit to erlend-aasland/cpython that referenced this pull request Aug 15, 2023
pythongh-107885 taught Argument Clinic to clone to __init__ and __new__
methods, but it did not validate the requirements of those special
methods.
erlend-aasland added a commit that referenced this pull request Aug 15, 2023
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
iritkatriel pushed a commit to iritkatriel/cpython that referenced this pull request Aug 16, 2023
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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL