Stefan Behnel <stefan...@behnel.de> added the comment:

I think we did it wrong in issue 17582. Parser behaviour is not a reason why 
the *serialisation* should modify the content.

Luckily, fixing this does not impact the C14N serialisation (which aims to 
guarantee byte identical serialisation), but it changes the "normal" 
serialisation. I would therefore suggest that we remove the newline replacement 
code in the next release only, Py3.9.

@mefistotelis, do you want to submit a PR?

----------
stage:  -> needs patch
versions: +Python 3.9 -Python 3.6, Python 3.8

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

Reply via email to