Message391818
Steven is right that this would be a behavior change. It is also out of line with Python norms where all objects are born true and have to learn to be false with either __len__ or __bool__. It is not a norm for bool(obj) to raise an exception.
Following Steven's suggestion, I'll mark this a closed.
Thank for the suggestion. |
|
Date |
User |
Action |
Args |
2021-04-24 23:03:42 | rhettinger | set | recipients:
+ rhettinger, steven.daprano, sarf, aa1371 |
2021-04-24 23:03:42 | rhettinger | set | messageid: <1619305422.22.0.298404976001.issue43929@roundup.psfhosted.org> |
2021-04-24 23:03:42 | rhettinger | link | issue43929 messages |
2021-04-24 23:03:42 | rhettinger | create | |
|