Author zbysz
Recipients Yury.Selivanov, alex, aronacher, asvetlov, eric.araujo, gcewing, ncoghlan, rfk, rhettinger, rndblnch, ron_adam, zbysz
Date 2011-12-07.10:11:40
SpamBayes Score 0.0169882
Marked as misclassified No
Message-id <1323252701.29.0.256319236879.issue11682@psf.upfronthosting.co.za>
In-reply-to
Content
>>> f((yield))

This requirement seems unnecessary. And surprising, because f(<generator-expression>) or f('a' if 'a' else 'b') doesn't require parenthes. There's no room for confusion if parentheses were omitted in the single-argument case. (Following the rule given in documentation for generator expressions: "The parentheses can be omitted on calls with only one argument.").
History
Date User Action Args
2011-12-07 10:11:41zbyszsetrecipients: + zbysz, rhettinger, gcewing, ncoghlan, rndblnch, ron_adam, aronacher, eric.araujo, alex, rfk, asvetlov, Yury.Selivanov
2011-12-07 10:11:41zbyszsetmessageid: <1323252701.29.0.256319236879.issue11682@psf.upfronthosting.co.za>
2011-12-07 10:11:40zbyszlinkissue11682 messages
2011-12-07 10:11:40zbyszcreate