[issue10651] chr(13) is added before chr(10) when issuing ".write" under windows

Vladimir K report at bugs.python.org
Wed Dec 8 15:39:36 CET 2010


New submission from Vladimir K <kzm362 at yahoo.com>:

The following code (see attached file) was intended to remove chr(13) from end-of-lines under Windows to make the file Unix-compliant but it always appends chr(13) before chr(10).

I'm under Windows XP.

----------
components: IO, Windows
files: chr13remove.py
messages: 123608
nosy: KZM
priority: normal
severity: normal
status: open
title: chr(13) is added before chr(10) when issuing ".write" under windows
versions: Python 2.7
Added file: http://bugs.python.org/file19976/chr13remove.py

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


More information about the Python-bugs-list mailing list