[issue15222] mailbox.mbox writes without empty line after each message

R. David Murray report at bugs.python.org
Sat Sep 8 22:04:35 CEST 2012


R. David Murray added the comment:

Looks like reitveld doesn't recognize your patch format, Petri.

Instead of having the write_line flag, how about doing the newline write in the if body?  A 'lastline=line' at the end of the loop in the buffer loop case is probably less expensive than doing the if test every time through that loop.

Otherwise, it looks good to me.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15222>
_______________________________________


More information about the Python-bugs-list mailing list