➜

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.

作者 ncoghlan
收信人 Yury.Selivanov, alex, aronacher, asvetlov, eric.araujo, gcewing, ncoghlan, rfk, rhettinger, rndblnch, ron_adam, zbysz
日期 2011-12-07.12:42:31
SpamBayes Score 0.00095312885
Marked as misclassified 否
Message-id <1323261752.0.0.279847923176.issue11682@psf.upfronthosting.co.za>
In-reply-to
内容
As far as *why* yield expressions aren't special cased the way generator expressions are - just an oversight when yield expressions were added, no real grand master plan. It's not a big deal in practice, so nobody has ever cared enough to argue for fixing it.

Conditional expressions simply don't include mandatory parentheses as part of the syntax in the first place.
历史
日期 用户 动作 参数
2011-12-07 12:42:32ncoghlan修改recipients: + ncoghlan, rhettinger, gcewing, rndblnch, ron_adam, aronacher, eric.araujo, alex, rfk, asvetlov, zbysz, Yury.Selivanov
2011-12-07 12:42:32ncoghlan修改messageid: <1323261752.0.0.279847923176.issue11682@psf.upfronthosting.co.za>
2011-12-07 12:42:31ncoghlan链接issue11682 messages
2011-12-07 12:42:31ncoghlan创建