Skip to content

urllib.quote is too slow #42356

@tseaver

Description

@tseaver
BPO 1285086
Nosy @warsaw, @rhettinger, @orsenthil, @pitrou, @devdanzin, @ezio-melotti, @florentx, @serhiy-storchaka
Files
  • urllib_faster_quote.patch: Patch implementing faster quote
  • urllib_fast_quote_speed_test.py
  • urllib_faster_quote-py2.4.patch: Patch against Python 2.4's version
  • urllib.quote.patch: Updated patch: cache regexps on (safe, always safe)
  • urllib_better_speed_test.py: Improved speed test script.
  • issue1285086-updated.patch: Updated patch against trunk
  • quotebench.py: Benchmark script for quote and unquote variants
  • issue1285086_using_rstrip_py3k.diff: Patch, apply to 3.x
  • urllib_faster_unquote.patch
  • urllib_faster_unquote-2.7.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/florentx'
    closed_at = <Date 2013-03-14.19:46:47.144>
    created_at = <Date 2005-09-08.16:37:34.000>
    labels = ['library', 'performance']
    title = 'urllib.quote is too slow'
    updated_at = <Date 2013-03-14.19:46:47.143>
    user = 'https://bugs.python.org/tseaver'

    bugs.python.org fields:

    activity = <Date 2013-03-14.19:46:47.143>
    actor = 'serhiy.storchaka'
    assignee = 'flox'
    closed = True
    closed_date = <Date 2013-03-14.19:46:47.144>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2005-09-08.16:37:34.000>
    creator = 'tseaver'
    dependencies = []
    files = ['8257', '8258', '8259', '9986', '17133', '17148', '17365', '17367', '29064', '29065']
    hgrepos = []
    issue_num = 1285086
    keywords = ['patch']
    message_count = 33.0
    messages = ['54612', '54613', '54614', '54615', '54616', '65203', '81805', '104594', '104636', '104639', '105156', '105448', '105486', '105487', '105513', '105516', '105523', '105868', '105869', '105903', '105919', '105921', '113708', '113714', '182056', '182061', '182079', '182080', '182091', '182206', '184113', '184182', '184183']
    nosy_count = 12.0
    nosy_names = ['barry', 'jepler', 'rhettinger', 'tseaver', 'orsenthil', 'pitrou', 'ajaksu2', 'ezio.melotti', 'flox', 'fijall', 'python-dev', 'serhiy.storchaka']
    pr_nums = []
    priority = None
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue1285086'
    versions = ['Python 2.7', 'Python 3.2', 'Python 3.3', 'Python 3.4']

    Metadata

    Metadata

    Assignees

    Labels

    performancePerformance or resource usagestdlibStandard Library Python modules in the Lib/ directory

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions