]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[2.7] bpo-34410: Fix a crash in the tee iterator when re-enter it. (GH-15625) (GH...
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 9 Sep 2019 09:38:05 +0000 (12:38 +0300)
committerGitHub <noreply@github.com>
Mon, 9 Sep 2019 09:38:05 +0000 (12:38 +0300)
commit2fb6921ab296f933caf361a662e6471e143abefc
tree7d2241b4fd7d9f6809a5de02cbf8c0d6c1806832
parent0229b56d8c0cb65b8ad789e69dcd281fd92a6d96
[2.7] bpo-34410: Fix a crash in the tee iterator when re-enter it. (GH-15625) (GH-15740)

RuntimeError is now raised in this case.
(cherry picked from commit 526a01467b3277f9fcf7f91e66c23321caa1245d)
Doc/library/itertools.rst
Lib/test/test_itertools.py
Misc/NEWS.d/next/Library/2019-08-31-01-52-59.bpo-34410.7KbWZQ.rst [new file with mode: 0644]
Modules/itertoolsmodule.c