]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #23700: NamedTemporaryFile iterator closed underlied file object in
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 20 Mar 2015 14:11:20 +0000 (16:11 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Fri, 20 Mar 2015 14:11:20 +0000 (16:11 +0200)
commitd83b7c2df4439b678bf7e372f8c9bbaff2907689
tree1bdddaf5647aa414c92b67c5511854b04c63b434
parentf0c6cd3581831cb5f10fe8244bffb9c5f2a754b2
Issue #23700: NamedTemporaryFile iterator closed underlied file object in
some circunstances while NamedTemporaryFile object was living.  This causes
failing test_csv.  Changed the implementation of NamedTemporaryFile.__iter__
to make tests passed.
Lib/tempfile.py