Terry J. Reedy <tjre...@udel.edu> added the comment:

The PR is for 1.  The *nix code is a bit clearer without the Windows code in 
the middle.

Is there a good reason why when encoding is 'utf-8', errors should be 
'surrogateescape' on Windows and 'strict' elsewhere?  Surrogateescape seems 
like it is made for when using ascii or other limited encoding.

----------
stage: patch review -> needs patch

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

Reply via email to