Message343455
This seem like a misdirected expectation. count returns a regular iterator and the purpose behind it is not to enable membership checks, this only works because it's a regular iterators and normal rules for checking membership are applied.
In any case, it is possible to write an infinite loop in Python either by accident or intentionally, this doesn't seem like a reasonable rationale for making this sort changes. |
|
Date |
User |
Action |
Args |
2019-05-25 06:33:08 | SilentGhost | set | recipients:
+ SilentGhost, rhettinger, Dan Rose |
2019-05-25 06:33:08 | SilentGhost | set | messageid: <1558765988.82.0.779203804403.issue37040@roundup.psfhosted.org> |
2019-05-25 06:33:08 | SilentGhost | link | issue37040 messages |
2019-05-25 06:33:08 | SilentGhost | create | |
|