Nick Coghlan added the comment:

I suggest we defer this one to 3.6 - I still think it's worth doing, but I 
don't think it's a major barrier to migration, and it would be good to get some 
real world experience with the new sys.stdin behaviour of defaulting to using 
surrogateescape in the POSIX locale in 3.5 before committing to a particular 
design for the surrogate cleaning API.

I do like the idea of a "string.internals" submodule as a possible home for 
exposing the Python level API.

----------
title: Add codecs.convert_surrogateescape to "clean" surrogate escaped strings 
-> Add utilities to "clean" surrogate code points from strings
versions: +Python 3.6 -Python 3.5

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

Reply via email to