Skip to content

urlencode does not handle "bytes" and could easily handle alternate encodings #49718

@dmahn

Description

@dmahn
mannequin
BPO 5468
Nosy @terryjreedy, @orsenthil, @ezio-melotti
Files
  • new_urlencode.py: Updated urlencode() function with doctest
  • new_urlencode_tests.py: Additional urlencode() tests for use in test_urllib.py
  • 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/orsenthil'
    closed_at = <Date 2010-07-03.17:59:30.311>
    created_at = <Date 2009-03-10.14:45:14.864>
    labels = ['type-bug', 'library']
    title = 'urlencode does not handle "bytes" and could easily handle alternate encodings'
    updated_at = <Date 2010-07-03.17:59:30.310>
    user = 'https://bugs.python.org/dmahn'

    bugs.python.org fields:

    activity = <Date 2010-07-03.17:59:30.310>
    actor = 'orsenthil'
    assignee = 'orsenthil'
    closed = True
    closed_date = <Date 2010-07-03.17:59:30.311>
    closer = 'orsenthil'
    components = ['Library (Lib)']
    creation = <Date 2009-03-10.14:45:14.864>
    creator = 'dmahn'
    dependencies = []
    files = ['13294', '13298']
    hgrepos = []
    issue_num = 5468
    keywords = ['patch']
    message_count = 10.0
    messages = ['83434', '83448', '84216', '84228', '84260', '89416', '92029', '108290', '109101', '109187']
    nosy_count = 6.0
    nosy_names = ['jhylton', 'terry.reedy', 'orsenthil', 'ezio.melotti', 'dmahn', 'milesck']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue5468'
    versions = ['Python 3.2']

    Metadata

    Metadata

    Assignees

    Labels

    stdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions