Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Python: copying a list the right way. Parent comment
Using list(gen) will fully consume the generator, which may be undesirable, but at least it will generate a list with the correct values.
There are no comments on this comment yet.
Using list(gen) will fully consume the generator, which may be undesirable, but at least it will generate a list with the correct values.