[issue1285086] urllib.quote is too slow

Tres Seaver report at bugs.python.org
Fri Apr 30 16:48:21 CEST 2010


Tres Seaver <tseaver at agendaless.com> added the comment:

Updated patch against the trunk attached.

Note that I prefer unidiff myself, but was following a bit of guidance that Guido (used to, anyway) prefer context diffs.

The updated speed test run against the stdlib with this patch shows only a 12% to 16% hit against my simpler version (which didn't handle cases where the 'safe' argument was not the default "/").

----------
Added file: http://bugs.python.org/file17148/issue1285086-updated.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1285086>
_______________________________________


More information about the Python-bugs-list mailing list