diff options
author | Christian Tismer <tismer@stackless.com> | 2019-02-23 13:58:03 +0100 |
---|---|---|
committer | Christian Tismer <tismer@stackless.com> | 2019-02-25 11:51:25 +0000 |
commit | 5ae663ff57efb4735ef1e69055ea68d904deb3b3 (patch) | |
tree | b0276f3f925cef1e309ece41f8bf330d3a47659c /sources/pyside2/PySide2 | |
parent | 78b2438037504ae80eaf6b01d49df9ddb660656a (diff) |
Allow Subclassing PyCFunction in Extension Modules
The signature module tries to figure out if it has to act upon
functions by examining their type.
It was too specific to check for PyCFunction, directly. A user
had built a subclass of PyCFunction and used it with 'inspect.signature',
which then revealed wrong behavior.
This patch removes that restriction.
Change-Id: I7e126ce5750ec5c308cbd1bd1bc4ca4d5eb51e17
Fixes: PYSIDE-950
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside2/PySide2')
0 files changed, 0 insertions, 0 deletions