Florent Xicluna <[email protected]> added the comment: The speed test script did not work on 2.5 (because timeit.Timer does not accept a callable). Fixed version, which benchmarks the str.translate(...) version.
Change the '_new_quote_setup' assignment to test other variants. ---------- Added file: http://bugs.python.org/file17297/urllib_quote_speed_test.py _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue1285086> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
