Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

It is possible to resolve issue with Unicode strings ending with \r. We can add 
a special mark in the stream (a combination of opcodes which is no-op) before 
writing the first Unicode strings ending with \r. If this mark is encountered 
in an input stream, therefore it was saved with new Python version, and ending 
\r can be removed from loaded Unicode strings.

----------

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

Reply via email to