This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Dan Rose
Recipients Dan Rose
Date 2019-05-25.04:22:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1558758125.27.0.730728069526.issue37040@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-05-25 04:22:05Dan Rosesetrecipients: + Dan Rose
2019-05-25 04:22:05Dan Rosesetmessageid: <1558758125.27.0.730728069526.issue37040@roundup.psfhosted.org>
2019-05-25 04:22:05Dan Roselinkissue37040 messages
2019-05-25 04:22:04Dan Rosecreate