New submission from A. Libotean:

The StreamHandler implementation uses hardcoded Unix/Linux line separators. 
This generates inconveniences when running on Windows as the file viewers 
expect DOS line terminators.

I've attached a fix that will use os.linesep as the line terminator thus making 
the log files usable with Windows utilities.

Please revise the fix and consider including it.

----------
components: Library (Lib)
files: streamhandler.py
messages: 207416
nosy: alibotean
priority: normal
severity: normal
status: open
title: Logging: StreamHandler does not use OS line separator.
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file33321/streamhandler.py

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

Reply via email to