Guilherme Polo <ggp...@gmail.com> added the comment:

I see what you want to do, but I fell really uncomfortable by totally
ignoring IOError. I could get a bad file descriptor under Linux too, and
I wouldn't like to see it discarded for no reason.

Now, is there some problem if we remove the calls to the "tell" method
in _write_header ? See patch attached (tests are very welcome too).

Added file: http://bugs.python.org/file13015/writeheader_without_tell.diff

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

Reply via email to