Message 351734 - Python tracker

Message351734

Author serhiy.storchaka
Recipients dino.viehland, josh.r, rhettinger, serhiy.storchaka, veky
Date 2019-09-10.18:11:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1568139107.0.0.809997890134.issue36781@roundup.psfhosted.org>
In-reply-to
Content
Well, it is good for people who already sum bools. But if you are concerned about microoptimization, sum(1 for ... if ...) can be better variant.
History
Date User Action Args
2019-09-10 18:11:47serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, dino.viehland, josh.r, veky
2019-09-10 18:11:47serhiy.storchakasetmessageid: <1568139107.0.0.809997890134.issue36781@roundup.psfhosted.org>
2019-09-10 18:11:46serhiy.storchakalinkissue36781 messages
2019-09-10 18:11:46serhiy.storchakacreate