Serhiy Storchaka added the comment:

Here is a patch which calls close() on underlying stream even if flush() raises 
an exception.

I am not sure that I correctly set a context exception. There is no other 
examples in the code.

----------
keywords: +patch
nosy: +benjamin.peterson, pitrou, stutzbach
stage:  -> patch review
Added file: http://bugs.python.org/file28196/bufferedio_finally_close.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16597>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to