shlex.shlex.error_leader() reports incorrect line number

Aperta
#60,325 12 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
python
Ambito
cli

Direzione di ricerca

Review the shlex_test.py file and issue16121.patch linked in the issue history. Start by examining shlex.shlex.error_leader() and the existing test coverage for line reporting. Done means the reported line number is correct and the relevant test passes.

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

Descrizione

stdlib type-bug
BPO 16121
Nosy @ezio-melotti, @bitdancer, @hoadlck
Files
  • shlex_test.py
  • issue16121.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 2012-10-03.20:10:18.120>
    labels = ['type-bug', 'library']
    title = 'shlex.shlex.error_leader() reports incorrect line number'
    updated_at = <Date 2016-12-28.09:31:40.567>
    user = 'https://bugs.python.org/Arfrever'
    

    bugs.python.org fields:

    activity = <Date 2016-12-28.09:31:40.567>
    actor = 'petri.lehtinen'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2012-10-03.20:10:18.120>
    creator = 'Arfrever'
    dependencies = []
    files = ['27404', '29207']
    hgrepos = []
    issue_num = 16121
    keywords = ['patch']
    message_count = 12.0
    messages = ['171905', '182820', '182823', '182824', '182826', '182827', '182828', '182833', '182857', '182906', '182907', '227697']
    nosy_count = 7.0
    nosy_names = ['ezio.melotti', 'Arfrever', 'r.david.murray', 'zmedico', 'python-dev', 'birknilson', 'hoadlck']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'needs patch'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue16121'
    versions = ['Python 2.7', 'Python 3.4', 'Python 3.5', 'Python 3.6']
    

    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.