Skip to content

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

Merged
gpshead merged 2 commits into
python:masterfrom
gpshead:sig_from_callable
Sep 13, 2019
Merged

bpo-34706: Preserve subclassing in inspect.Signature.from_callable#16108
gpshead merged 2 commits into
python:masterfrom
gpshead:sig_from_callable

Conversation

@gpshead

@gpshead gpshead commented Sep 13, 2019

Copy link
Copy Markdown
Member

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
Copy Markdown
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
Copy Markdown

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

@bedevere-bot

Copy link
Copy Markdown

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 <greg@krypto.org>
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 <greg@krypto.org>
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 <greg@krypto.org>
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