]> granicus.if.org Git - python/commitdiff
Issue #23700: NamedTemporaryFile iterator closed underlied file object in
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 20 Mar 2015 14:12:43 +0000 (16:12 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Fri, 20 Mar 2015 14:12:43 +0000 (16:12 +0200)
some circunstances while NamedTemporaryFile object was living.  This causes
failing test_csv.  Changed the implementation of NamedTemporaryFile.__iter__
to make tests passed.

1  2 
Lib/tempfile.py

diff --cc Lib/tempfile.py
Simple merge