diff options
author | Guido van Rossum <guido@python.org> | 2007-07-22 20:38:07 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-07-22 20:38:07 (GMT) |
commit | 33e7a8e8134e90635adb88871defc270e0043073 (patch) | |
tree | bff6c8ebe833d833636d4e0791cf72c927766586 /Lib/ConfigParser.py | |
parent | ca73d496ecd5d7addaf3190459e327040958c7a3 (diff) | |
download | cpython-33e7a8e8134e90635adb88871defc270e0043073.zip cpython-33e7a8e8134e90635adb88871defc270e0043073.tar.gz cpython-33e7a8e8134e90635adb88871defc270e0043073.tar.bz2 |
Make close() (all versions) ignore IOError from flush().
This makes test_resource.py pass, and I think it's the right thing
to do: if you're closing a file after encountering an I/O error
there's nothing you can do about it. If you want the error, you
can call flush() yourself.
Diffstat (limited to 'Lib/ConfigParser.py')
0 files changed, 0 insertions, 0 deletions