[issue9873] urllib.parse: Allow bytes in some APIs that use string literals internally
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>
More information about the Python-bugs-list