Better error messages for wsgiref validator failures

Aperta
#58,857 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
20/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python

Direzione di ricerca

Start by reviewing the issue14652 context and the three attached patch files: ssm_validate.patch and issue14652.diff. Check the linked PR gh-148291 and the existing wsgiref validator behavior before proceeding. Done means the validator reports clearer failures with appropriate coverage and the relevant tests pass.

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

Descrizione

easy stdlib type-feature
BPO 14652
Nosy @berkerpeksag, @Sidnicious
Files
  • ssm_validate.patch
  • ssm_validate.patch: Don’t use tuples when using only len() to format a string
  • issue14652.diff
  • 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 2012-04-23.17:48:02.699>
    labels = ['type-feature', 'library']
    title = 'Better error messages for wsgiref validator failures'
    updated_at = <Date 2015-02-13.19:23:25.772>
    user = 'https://github.com/Sidnicious'
    

    bugs.python.org fields:

    activity = <Date 2015-02-13.19:23:25.772>
    actor = 'berker.peksag'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2012-04-23.17:48:02.699>
    creator = 'ssm'
    dependencies = []
    files = ['25320', '25624', '38131']
    hgrepos = []
    issue_num = 14652
    keywords = ['patch']
    message_count = 4.0
    messages = ['159053', '160951', '160971', '235914']
    nosy_count = 3.0
    nosy_names = ['mcjeff', 'berker.peksag', 'ssm']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue14652'
    versions = ['Python 3.4', 'Python 3.5']
    

    Linked PRs
    • gh-148291
    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.