[issue39966] mock 3.9 bug: Wrapped objects without __bool__ raise exception

Karthikeyan Singaravelan report at bugs.python.org
Mon Apr 27 10:52:47 EDT 2020


Karthikeyan Singaravelan <tir.karthi at gmail.com> added the comment:

I opened a PR to revert the change. issue25597 was open for sometime and the implications as reported here seem to be greater than the original report to just call the magicmethod. So we can revert the change to ensure there are no regressions in Python 3.9 for first beta and discuss the behavior for a later release.

----------

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


More information about the Python-bugs-list mailing list