The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
On Thu, Oct 25, 2012 at 1:21 AM, Thomas Rachel
>> j = next(j for j in iter(partial(randrange, n), None) if j not innext() only returns one value. After it is returned, the generator is
> This generator never ends. If it meets a non-matching value, it just skips
discarded, whether it has ended or not. If there were no valid values
for randrange to select, then it would descend into an infinite loop.
But then, so would the dropwhile and the original while loop.
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.