]> 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:12:43 +0000 (16:12 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Fri, 20 Mar 2015 14:12:43 +0000 (16:12 +0200)
commit000391b7de634635b493b680f14b907d767d8583
treec6ecce3684f430e9877c6859de1e78ad95dd6d72
parent268225f154dbd05f1967129d78609cc25c791e3f
parentd83b7c2df4439b678bf7e372f8c9bbaff2907689
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