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 pitrou
Recipients pitrou, qwjqwj
Date 2009-03-27.15:48:51
SpamBayes Score 0.06090024
Marked as misclassified No
Message-id <1238168933.24.0.820578444278.issue5577@psf.upfronthosting.co.za>
In-reply-to
Content
Perhaps you forgot to return the value. In 3.1:

>>> def f():
...  return [(yield i) for i in range(10)]
... 
>>> f()
<generator object <listcomp> at 0x7f9bcc2257d0>
History
Date User Action Args
2009-03-27 15:48:53pitrousetrecipients: + pitrou, qwjqwj
2009-03-27 15:48:53pitrousetmessageid: <1238168933.24.0.820578444278.issue5577@psf.upfronthosting.co.za>
2009-03-27 15:48:52pitroulinkissue5577 messages
2009-03-27 15:48:52pitroucreate