[issue36781] Optimize sum() for bools

Vedran Čačić report at bugs.python.org
Tue Sep 10 12:34:04 EDT 2019


Vedran Čačić <vedgar at gmail.com> added the comment:

I don't think anything _bad_ can happen with that optimization, if it's already written. And people (me included) do like to write shorter expressions instead of longer ones.

----------
nosy: +veky

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36781>
_______________________________________


More information about the Python-bugs-list mailing list