summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-10-16 19:20:12 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-10-16 19:20:12 (GMT)
commitbf775542b0798afcde4f338aef73553636a9069b (patch)
treee2a3dff42add90c424c25c67ef405a1bd7a0ccd6 /Misc
parentf76942d6bf432d6881dc47070002d226e1e15ce9 (diff)
downloadcpython-bf775542b0798afcde4f338aef73553636a9069b.zip
cpython-bf775542b0798afcde4f338aef73553636a9069b.tar.gz
cpython-bf775542b0798afcde4f338aef73553636a9069b.tar.bz2
iterators passed to writelines() can close their files; don't segfault #10125
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index c2b674b..b597bd5 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,9 @@ What's New in Python 2.7.1?
Core and Builtins
-----------------
+- Issue #10125: Don't segfault when the iterator passed to ``file.writelines()``
+ closes the file.
+
- Issue #9997: Don't let the name "top" have special significance in scope
resolution.