[issue36848] autospec fails with AttributeError when mocked class has __signature__ non-writeable

Chris Withers report at bugs.python.org
Wed May 8 10:19:41 EDT 2019


Chris Withers <chris at withers.org> added the comment:

I'm not sure we should try and work around this; hijacking __signature__ python-wide is going to cause a bunch of other problems. My vote would be to just open a bug on the pyside tracker (wherever that is) and close the issue and and on the backport by pointing to that issue.

thoughts?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36848>
_______________________________________


More information about the Python-bugs-list mailing list