qwjqwj <q...@papayamobile.com> added the comment:

>>> x = {(yield i) for i in range(10)}
>>> x
<generator object <setcomp> at 0x02A453F0>
>>> list(x)
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, {None}]

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue5577>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to