Mark Dickinson <dicki...@gmail.com> added the comment:

Marking as a feature request:  I think this is somewhere on the line between 
bugfix and new feature, but either way 2.7 is too close to release to start 
messing with something that isn't really all that broken.

For 2.7 (and 2.6, 3.1), there's also the option of updating the documentation 
to point out this issue.  It would also be worth updating the 
command-line-interface example in the docs to do this post-processing (i.e., 
for each line that doesn't end in a newline, add '\n\ No newline at end of 
file') before calling writelines.

----------
type: behavior -> feature request
versions:  -Python 2.6, Python 2.7, Python 3.1

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

Reply via email to