STINNER Victor <[email protected]> added the comment: > If you were worried about performance, then surrogateescape is certainly > much slower than latin1.
If you were really worried about performance, the bytes type is maybe faster than: decode bytes to str using latin-1, process str strings, encode str to bytes using latin-1. ---------- _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue9873> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
