Skip to content

urllib.parse: Allow bytes in some APIs that use string literals internally #54082

@ncoghlan

Description

@ncoghlan
BPO 9873
Nosy @ncoghlan, @orsenthil, @pitrou, @vstinner, @ericvsmith, @merwok, @bitdancer, @yaseppochi
Files
  • issue9873_initial_attempt.diff: Very rough first cut at polymorphic urllib.parse API
  • issue9873_coercion_to_str.diff: Second attempt, using a coercion based approach
  • issue9873_just_needs_docs.diff: Code and tests complete
  • 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/ncoghlan'
    closed_at = <Date 2010-11-30.15:53:40.024>
    created_at = <Date 2010-09-16.13:25:10.227>
    labels = ['type-bug', 'library']
    title = 'urllib.parse: Allow bytes in some APIs that use string literals internally'
    updated_at = <Date 2010-11-30.15:53:40.022>
    user = 'https://github.com/ncoghlan'

    bugs.python.org fields:

    activity = <Date 2010-11-30.15:53:40.022>
    actor = 'ncoghlan'
    assignee = 'ncoghlan'
    closed = True
    closed_date = <Date 2010-11-30.15:53:40.024>
    closer = 'ncoghlan'
    components = ['Library (Lib)']
    creation = <Date 2010-09-16.13:25:10.227>
    creator = 'ncoghlan'
    dependencies = []
    files = ['19043', '19353', '19883']
    hgrepos = []
    issue_num = 9873
    keywords = ['patch']
    message_count = 29.0
    messages = ['116543', '116663', '116927', '117520', '117556', '117588', '117653', '117654', '117661', '117666', '117668', '117670', '117718', '117719', '117724', '117904', '117909', '117945', '117993', '118000', '118001', '118180', '119512', '119513', '120673', '120749', '120857', '122890', '122908']
    nosy_count = 9.0
    nosy_names = ['ncoghlan', 'hfuru', 'orsenthil', 'pitrou', 'vstinner', 'eric.smith', 'eric.araujo', 'r.david.murray', 'sjt']
    pr_nums = []
    priority = 'high'
    resolution = 'accepted'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue9873'
    versions = ['Python 3.2']

    Metadata

    Metadata

    Assignees

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions