➜

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.

作者 scoder
收信人 gvanrossum, ncoghlan, python-dev, scoder, yselivanov
日期 2015-05-29.17:26:16
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1432920376.88.0.280937029273.issue24316@psf.upfronthosting.co.za>
In-reply-to
内容
One failing test in "test_coroutines": test_func_5. The reason is that the GeneratorWrapper is not iterable (and there is no reason it shouldn't be, given that it wraps a Generator). That was my fault, I had already added an __iter__ method but didn't copy it in my previous message. Adding it as follows fixes the test for me:

    def __iter__(self):
        return self.__wrapped__

Alternatively, "__iter__ = __await__" would do the same.
历史
日期 用户 动作 参数
2015-05-29 17:26:16scoder修改recipients: + scoder, gvanrossum, ncoghlan, python-dev, yselivanov
2015-05-29 17:26:16scoder修改messageid: <1432920376.88.0.280937029273.issue24316@psf.upfronthosting.co.za>
2015-05-29 17:26:16scoder链接issue24316 messages
2015-05-29 17:26:16scoder创建