Message343452
Checking membership in `itertools.count()` will either return True in linear time or enter an infinite loop that cannot be terminated with Ctrl-c. This
```
import itertools
1 in itertools.count(0,2)
```
It is expected that the above code will use an efficient (O(1)) membership algorithm like range objects. |
|
| Date |
User |
Action |
Args |
| 2019-05-25 04:22:05 | Dan Rose | set | recipients:
+ Dan Rose |
| 2019-05-25 04:22:05 | Dan Rose | set | messageid: <1558758125.27.0.730728069526.issue37040@roundup.psfhosted.org> |
| 2019-05-25 04:22:05 | Dan Rose | link | issue37040 messages |
| 2019-05-25 04:22:04 | Dan Rose | create | |
|