[issue9873] urllib.parse: Allow bytes in some APIs that use string literals internally
Antoine Pitrou
report at bugs.python.org
Sun Oct 3 14:44:53 CEST 2010
Antoine Pitrou <pitrou at free.fr> added the comment:
> As per RDM's email to python-dev, a better way to create the
> pseudo_str values would be by decoding as ascii with a surrogate
> escape error handler rather than by decoding as latin-1.
If you were worried about performance, then surrogateescape is certainly
much slower than latin1.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9873>
_______________________________________
More information about the Python-bugs-list
mailing list