Message384970
Hm, I hadn't realized the issue of bool(a) being evaluated once or twice.
The most important side effect that bool(a) can have is raising (as e.g. numpy arrays do), not producing random results. Another important side effect might be loading some value into a cache.
So I think dropping an *extra* call is fine, while dropping the *only* call is not. |
|
Date |
User |
Action |
Args |
2021-01-12 18:09:13 | gvanrossum | set | recipients:
+ gvanrossum, gregory.p.smith, ethan.furman, Mark.Shannon, serhiy.storchaka, Mohamed_Atef, pablogsal, stestagg |
2021-01-12 18:09:13 | gvanrossum | set | messageid: <1610474953.15.0.916420769997.issue42899@roundup.psfhosted.org> |
2021-01-12 18:09:13 | gvanrossum | link | issue42899 messages |
2021-01-12 18:09:13 | gvanrossum | create | |
|