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 dseomn
Recipients dseomn
Date 2021-09-09.22:09:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1631225364.14.0.346239674418.issue45156@roundup.psfhosted.org>
In-reply-to
Content
The code below seems to have infinite recursion in the mock.seal call with python 3.9.2.

from unittest import mock
class Foo:
  foo = 0
foo = mock.create_autospec(Foo)
mock.seal(foo)
History
Date User Action Args
2021-09-09 22:09:24dseomnsetrecipients: + dseomn
2021-09-09 22:09:24dseomnsetmessageid: <1631225364.14.0.346239674418.issue45156@roundup.psfhosted.org>
2021-09-09 22:09:24dseomnlinkissue45156 messages
2021-09-09 22:09:24dseomncreate