This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mariocj89
Recipients cjw296, mariocj89, michael.foord, xtreak
Date 2019-05-08.14:32:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557325947.5.0.963285067358.issue36848@roundup.psfhosted.org>
In-reply-to
Content
Agree, for the general case I think it makes sense that this is fixed in pyside.
Hijacking __signature__ python-wide sounds like it can cause other issues, if they need such a hack I would suggest finding a way (in pyside) to allow for mock to work.

I wonder though if this change in __signature__ will affect in any way any C extension that might not allow setting __signature__ if not set as a lack of __dict__ (I have not managed to find any issue with small examples though).
History
Date User Action Args
2019-05-08 14:32:27mariocj89setrecipients: + mariocj89, cjw296, michael.foord, xtreak
2019-05-08 14:32:27mariocj89setmessageid: <1557325947.5.0.963285067358.issue36848@roundup.psfhosted.org>
2019-05-08 14:32:27mariocj89linkissue36848 messages
2019-05-08 14:32:27mariocj89create