Cc: python-list@python.org
Subject: Re: dealing with infinite generators
On Mon, Dec 3, 2018 at 8:11 AM Avi Gross mailto:avigr...@verizon.net> > wrote:
[SPECULATION ALERT]
I found it interesting as people discussed how one gets the length of
something set up to follow the iterator pro
[SPECULATION ALERT]
I found it interesting as people discussed how one gets the length of
something set up to follow the iterator protocol and especially anything
that is effectively infinite.
It is possible in python to set a value of "inf" using methods like this:
>>> x = float("inf")
>>> x
i