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 Dennis Sweeney
Recipients Dennis Sweeney, xxm
Date 2021-07-24.02:21:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1627093305.87.0.77769946317.issue44720@roundup.psfhosted.org>
In-reply-to
Content
Here's a simpler reproducer:

        not_an_iterator = lambda: 0

        class A:
            def __iter__(self):
                return weakref.proxy(not_an_iterator)
        a = A()
        list(a)

I opened a PR.
History
Date User Action Args
2021-07-24 02:21:45Dennis Sweeneysetrecipients: + Dennis Sweeney, xxm
2021-07-24 02:21:45Dennis Sweeneysetmessageid: <1627093305.87.0.77769946317.issue44720@roundup.psfhosted.org>
2021-07-24 02:21:45Dennis Sweeneylinkissue44720 messages
2021-07-24 02:21:45Dennis Sweeneycreate