Why does len() on a filter object in py3 not just materialize the result instead of raising an error that's mostly unhelpful?
This all assumes the iterator protocol is more limited than it actually is. Iterators can cause side effects and run forever
-
-
In some contexts, often with generators, this is precisely how they are used. I... eh... this doesn't really matter right?
-
I have distaste for python too, just not in this case I guess
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.