Message350877
| Author | seberg |
|---|---|
| Recipients | ammar2, mark.dickinson, rhettinger, seberg, serhiy.storchaka, tcaswell, terry.reedy, tim.peters, vstinner |
| Date | 2019-08-30.13:12:17 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1567170737.85.0.363478296092.issue37980@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
I applaud the stricter rules in general, as Mark noted nicely, the issue is that `__index__` is maybe a strange way to achieve that for bools (it is not like `123` is a clean bool)? `__nonzero__` coerces to bools, there is no `__bool__` to convert to bool safely. Basically: this seems to force numpy to back down from saying that `list[np.True_]` will be invalid in the future. (And we cannot just get rid of our bools unfortunately). |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2019-08-30 13:12:17 | seberg | set | recipients: + seberg, tim.peters, rhettinger, terry.reedy, mark.dickinson, vstinner, serhiy.storchaka, tcaswell, ammar2 |
| 2019-08-30 13:12:17 | seberg | set | messageid: <1567170737.85.0.363478296092.issue37980@roundup.psfhosted.org> |
| 2019-08-30 13:12:17 | seberg | link | issue37980 messages |
| 2019-08-30 13:12:17 | seberg | create | |