Is looping through a generator in a loop over that same generator safe in Python?
Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn
--
Music by Eric Matyas
https://www.soundimage.org
Track title: Darkness Approaches Looping
--
Chapters
00:00 Question
01:49 Accepted answer (Score 7)
04:27 Answer 2 (Score 3)
05:26 Answer 3 (Score 2)
06:11 Thank you
--
Full question
https://stackoverflow.com/questions/3728...
Accepted answer links:
https://hg.python.org/cpython/file/10140...
[line 617]: https://hg.python.org/cpython/file/10140...
[here]: https://hg.python.org/cpython/file/tip/O...
[itertools.tee()]: https://docs.python.org/3/library/iterto...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #generator
#avk47
    --
Music by Eric Matyas
https://www.soundimage.org
Track title: Darkness Approaches Looping
--
Chapters
00:00 Question
01:49 Accepted answer (Score 7)
04:27 Answer 2 (Score 3)
05:26 Answer 3 (Score 2)
06:11 Thank you
--
Full question
https://stackoverflow.com/questions/3728...
Accepted answer links:
https://hg.python.org/cpython/file/10140...
[line 617]: https://hg.python.org/cpython/file/10140...
[here]: https://hg.python.org/cpython/file/tip/O...
[itertools.tee()]: https://docs.python.org/3/library/iterto...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #generator
#avk47