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 belopolsky
Recipients belopolsky, georg.brandl, gvanrossum, svncodereview
Date 2008-05-15.19:25:11
SpamBayes Score 0.09339896
Marked as misclassified No
Message-id <1210879539.24.0.552910285046.issue2863@psf.upfronthosting.co.za>
In-reply-to
Content
Any reason why generator object repr is formed differently from
function and code?

>>> def f(): yield 1
...
>>> f()
<f generator object at 0x2a98530560>
>>> f
<function f at 0x2a985245a0>
>>> f.__code__
<code object f at 0x2a956bc040, file "<stdin>", line 1>
History
Date User Action Args
2008-05-15 19:25:56belopolskysetspambayes_score: 0.093399 -> 0.09339896
recipients: + belopolsky, gvanrossum, georg.brandl, svncodereview
2008-05-15 19:25:41belopolskysetspambayes_score: 0.093399 -> 0.093399
messageid: <1210879539.24.0.552910285046.issue2863@psf.upfronthosting.co.za>
2008-05-15 19:25:20belopolskylinkissue2863 messages
2008-05-15 19:25:18belopolskycreate