Skip to content

bpo-34706: Preserve subclassing in inspect.Signature.from_callable #16108

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

Merged
merged 2 commits into from
Sep 13, 2019

Conversation

gpshead
Copy link
Member

@gpshead gpshead commented Sep 13, 2019

https://bugs.python.org/issue34706

Specifically in the case of a class that does not override its constructor signature inherited from object.

Based on @bukzor's #9344 that I messed up the branch of. :)

https://bugs.python.org/issue34706

Specifically in the case of a class that does not override its
constructor signature inherited from object.

These are Buck Evan @bukzor's changes cherrypicked from PR 9344.
Addresses PR 9344 feedback.
@gpshead gpshead requested a review from 1st1 September 13, 2019 14:13
@gpshead gpshead merged commit 5b9ff7a into python:master Sep 13, 2019
@gpshead gpshead deleted the sig_from_callable branch September 13, 2019 16:13
@miss-islington
Copy link
Contributor

Thanks @gpshead for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

@bedevere-bot
Copy link

GH-16113 is a backport of this pull request to the 3.8 branch.

@bedevere-bot
Copy link

GH-16114 is a backport of this pull request to the 3.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 13, 2019
…ythonGH-16108)

https://bugs.python.org/issue34706

Specifically in the case of a class that does not override its
constructor signature inherited from object.

These are Buck Evan @bukzor's changes cherrypicked from pythonGH-9344.
(cherry picked from commit 5b9ff7a)

Co-authored-by: Gregory P. Smith <[email protected]>
matrixise pushed a commit that referenced this pull request Sep 13, 2019
…H-16108) (GH-16113)

https://bugs.python.org/issue34706

Specifically in the case of a class that does not override its
constructor signature inherited from object.

These are Buck Evan @bukzor's changes cherrypicked from GH-9344.
(cherry picked from commit 5b9ff7a)

Co-authored-by: Gregory P. Smith <[email protected]>
matrixise pushed a commit that referenced this pull request Sep 13, 2019
…H-16108) (GH-16114)

https://bugs.python.org/issue34706

Specifically in the case of a class that does not override its
constructor signature inherited from object.

These are Buck Evan @bukzor's changes cherrypicked from GH-9344.
(cherry picked from commit 5b9ff7a)

Co-authored-by: Gregory P. Smith <[email protected]>
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.

4 participants