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 georg.brandl
Recipients docs@python, eli.bendersky, eric.araujo, ethan.furman, ezio.melotti, georg.brandl, nikratio, pje, tim.peters
Date 2014-01-20.07:45:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1390203930.72.0.77077812032.issue12704@psf.upfronthosting.co.za>
In-reply-to
Content
Hmm, the yield statement is now basically the same as any expression statement -- just like a function call.  The only reason it's a separate grammar symbol is that otherwise yield expressions would have to be parenthesized.

Can the patch be updated to make this a bit clearer?  Otherwise I like the approach of moving the info to the expressions page.
History
Date User Action Args
2014-01-20 07:45:30georg.brandlsetrecipients: + georg.brandl, tim.peters, pje, ezio.melotti, eric.araujo, eli.bendersky, nikratio, docs@python, ethan.furman
2014-01-20 07:45:30georg.brandlsetmessageid: <1390203930.72.0.77077812032.issue12704@psf.upfronthosting.co.za>
2014-01-20 07:45:30georg.brandllinkissue12704 messages
2014-01-20 07:45:30georg.brandlcreate