urljoin should raise a TypeError if URL is not a string

Aperta
#63,293 13 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
30/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

Review PR #26687 and the urljoin entry point in Python's urllib library first. Confirm the relevant tests cover non-string URLs and that the completed behavior raises TypeError.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

3.11 3.12 3.13 stdlib type-bug
BPO 19094
Nosy @jaraco, @orsenthil, @berkerpeksag, @serhiy-storchaka, @vajrasky, @iritkatriel, @jacobtylerwalls
PRs
  • python/cpython#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']
    

    Lingua principale
    Python
    Stelle
    77.2k
    Fork
    36k
    Merge medio
    1g 9h
    PR unite (30g)
    558

    Guida per i contributori

    Apri la guida per i contributori

    Come iniziare

    1. Leggi tutta la issue e poi la guida ai contributi del progetto.
    2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
    3. Fai un fork del repository e lavora su un branch.
    4. Apri una pull request che faccia riferimento al numero della issue.

    Altre issue di python/cpython

    Tutte le issue di python/cpython

    Issue simili

    Altre issue su Python

    Ricevi le nuove issue nella tua casella

    Un breve riepilogo di issue GitHub adatte ai principianti.