Skip to content

urljoin should raise a TypeError if URL is not a string #63293

@jaraco

Description

@jaraco
BPO 19094
Nosy @jaraco, @orsenthil, @berkerpeksag, @serhiy-storchaka, @vajrasky, @iritkatriel, @jacobtylerwalls
PRs
  • gh-63293: Deprecate providing false values besides strings or bytes to urllib.parse functions #26687
  • Files
  • urljoin_throws_type_error.patch
  • urljoin_throws_type_error_v2.patch
  • urljoin_throws_type_error_v3.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 = None
    closed_at = None
    created_at = <Date 2013-09-25.20:55:41.793>
    labels = ['type-bug', 'library', '3.9', '3.10', '3.11']
    title = 'urljoin should raise a TypeError if URL is not a string'
    updated_at = <Date 2021-06-12.01:47:56.398>
    user = 'https://github.com/jaraco'

    bugs.python.org fields:

    activity = <Date 2021-06-12.01:47:56.398>
    actor = 'jacobtylerwalls'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2013-09-25.20:55:41.793>
    creator = 'jaraco'
    dependencies = []
    files = ['31876', '31889', '31933']
    hgrepos = []
    issue_num = 19094
    keywords = ['patch']
    message_count = 12.0
    messages = ['198418', '198435', '198455', '198462', '198493', '198510', '198750', '198784', '198808', '230742', '386875', '395598']
    nosy_count = 7.0
    nosy_names = ['jaraco', 'orsenthil', 'berker.peksag', 'serhiy.storchaka', 'vajrasky', 'iritkatriel', 'jacobtylerwalls']
    pr_nums = ['26687']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue19094'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.11only security fixes3.12only security fixes3.13bugs and security fixesstdlibStandard 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