summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2019-09-13 16:13:51 (GMT)
committerGitHub <noreply@github.com>2019-09-13 16:13:51 (GMT)
commit5b9ff7a0dcb16d6f5c3cd4f1f52e0ca6a4bde586 (patch)
tree617e86d74e51ffe2b915e2c89279c04793a838e4 /Misc
parent2ccb50cf773881255c5669942a093eb68ad042f6 (diff)
downloadcpython-5b9ff7a0dcb16d6f5c3cd4f1f52e0ca6a4bde586.zip
cpython-5b9ff7a0dcb16d6f5c3cd4f1f52e0ca6a4bde586.tar.gz
cpython-5b9ff7a0dcb16d6f5c3cd4f1f52e0ca6a4bde586.tar.bz2
bpo-34706: Preserve subclassing in inspect.Signature.from_callable (GH-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 GH-9344.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2019-09-13-14-54-33.bpo-34706.HWVpOY.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-09-13-14-54-33.bpo-34706.HWVpOY.rst b/Misc/NEWS.d/next/Library/2019-09-13-14-54-33.bpo-34706.HWVpOY.rst
new file mode 100644
index 0000000..1df3742
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-09-13-14-54-33.bpo-34706.HWVpOY.rst
@@ -0,0 +1 @@
+Preserve subclassing in inspect.Signature.from_callable.