commit | d83b7c2df4439b678bf7e372f8c9bbaff2907689 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Fri Mar 20 16:11:20 2015 +0200 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Fri Mar 20 16:11:20 2015 +0200 |
tree | 1bdddaf5647aa414c92b67c5511854b04c63b434 | |
parent | f0c6cd3581831cb5f10fe8244bffb9c5f2a754b2 [diff] |
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.