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 ncoghlan
Recipients Yury.Selivanov, alex, aronacher, asvetlov, eric.araujo, gcewing, ncoghlan, rfk, rhettinger, rndblnch, ron_adam, zbysz
Date 2011-12-07.12:42:31
SpamBayes Score 0.00095312885
Marked as misclassified No
Message-id <1323261752.0.0.279847923176.issue11682@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-12-07 12:42:32ncoghlansetrecipients: + ncoghlan, rhettinger, gcewing, rndblnch, ron_adam, aronacher, eric.araujo, alex, rfk, asvetlov, zbysz, Yury.Selivanov
2011-12-07 12:42:32ncoghlansetmessageid: <1323261752.0.0.279847923176.issue11682@psf.upfronthosting.co.za>
2011-12-07 12:42:31ncoghlanlinkissue11682 messages
2011-12-07 12:42:31ncoghlancreate