[issue14645] Generator does not translate linesep characters in certain circumstances

Yu Zhao report at bugs.python.org
Fri Oct 3 02:36:01 CEST 2014


Yu Zhao added the comment:

This at least shouldn't be done for the BytesGenerator - it breaks binary data integrity. IMO, doing it for the string Generator is not necessary either. The linesep is a policy regarding to MIME syntax. It shouldn't be applied to the payload. Imagine what would happen if people want to be RFC-compliant but keep '\n' in their Linux text files.

----------
nosy: +yu.zhao at getcwd.com

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


More information about the Python-bugs-list mailing list