Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
erlend-aasland merged 4 commits intopython:mainfromerlend-aasland:clinic/clone-init
Aug 13, 2023

Conversation

@erlend-aasland
Copy link
Contributor

@erlend-aaslanderlend-aasland commentedAug 11, 2023
edited by bedevere-bot
Loading

@erlend-aaslanderlend-aasland changed the titleWIPgh-107880: Teach Argument Clinic to clone __init__ and __new__ methodsAug 11, 2023
@erlend-aasland

This comment was marked as outdated.

@erlend-aasland
Copy link
ContributorAuthor

We should also check that it's possible to cloneT1.__init__ = T2.__init__ (ditto for__new__), and alsoT1.meth = T2.__init__.

AlexWaygood reacted with thumbs up emoji

Copy link
Member

@AlexWaygoodAlexWaygood left a comment

Choose a reason for hiding this comment

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

LGTM

erlend-aasland reacted with hooray emoji
@erlend-aaslanderlend-aasland merged commit9b75ada intopython:mainAug 13, 2023
@erlend-aaslanderlend-aasland deleted the clinic/clone-init branchAugust 13, 2023 10:13
erlend-aasland added a commit to erlend-aasland/cpython that referenced this pull requestAug 15, 2023
pythongh-107885 taught Argument Clinic to clone to __init__ and __new__methods, but it did not validate the requirements of those specialmethods.
erlend-aasland added a commit that referenced this pull requestAug 15, 2023
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
iritkatriel pushed a commit to iritkatriel/cpython that referenced this pull requestAug 16, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@AlexWaygoodAlexWaygoodAlexWaygood approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@erlend-aasland@AlexWaygood@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp