summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorHongWeipeng <961365124@qq.com>2019-08-29 03:39:25 (GMT)
committerRaymond Hettinger <rhettinger@users.noreply.github.com>2019-08-29 03:39:25 (GMT)
commitfa220ec7633e9674baccc28dde987f29d7f65141 (patch)
tree065b6b1b6cadd563ba6e357217318404b6cedc43 /Misc
parent13f37f2ba8b1fa39f312dca920e847d9c0313c77 (diff)
downloadcpython-fa220ec7633e9674baccc28dde987f29d7f65141.zip
cpython-fa220ec7633e9674baccc28dde987f29d7f65141.tar.gz
cpython-fa220ec7633e9674baccc28dde987f29d7f65141.tar.bz2
Raise a RuntimeError when tee iterator is consumed from different threads (GH-15567)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2019-08-29-10-26-57.bpo-34410.ttCIpm.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-08-29-10-26-57.bpo-34410.ttCIpm.rst b/Misc/NEWS.d/next/Library/2019-08-29-10-26-57.bpo-34410.ttCIpm.rst
new file mode 100644
index 0000000..caddada
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-08-29-10-26-57.bpo-34410.ttCIpm.rst
@@ -0,0 +1,2 @@
+Raise a RuntimeError when itertools.tee() iterator is consumed from different
+threads. Patch by hongweipeng.