Message363588
The only specification is that len(ob) calls ob.__len__ and that ob.__len__ should return an 'integer >= 0'. (Adding side effects goes beyond that spec.) I agree that a detectable internal in list is not a bug. Unless there is a realistic performance enhancement in caching the result of the first call, this issue should be closed. |
|
| Date |
User |
Action |
Args |
| 2020-03-07 10:23:44 | terry.reedy | set | recipients:
+ terry.reedy, brett.cannon, rhettinger, eric.snow, pablogsal, kimiguel |
| 2020-03-07 10:23:44 | terry.reedy | set | messageid: <[email protected]> |
| 2020-03-07 10:23:44 | terry.reedy | link | issue39829 messages |
| 2020-03-07 10:23:44 | terry.reedy | create | |
|