Cmd: list available completions from the cmd.Cmd subclass and filter out EOF handler(s)

Aperta
#57,423 8 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
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
cli

Direzione di ricerca

Start with the Library (Lib) component and review the historical patches, especially test_cmd.patch, which expands test_cmd2.py; also inspect PR #17074. Done means completions are listed from the cmd.Cmd subclass, EOF handlers are filtered out, and the corresponding cmd tests cover the behavior.

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

Descrizione

stdlib type-feature
BPO 13214
Nosy @rhettinger, @ngie-eign, @catherinedevlin, @boompig, @aldwinaldwin
PRs
  • python/cpython#17074
  • Files
  • python-cmd-better-filtering.patch
  • python-cmd-better-filtering.patch
  • python-cmd-better-filtering-py3.patch
  • test_cmd.patch: expand test_cmd2.py
  • 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 2011-10-18.19:16:06.030>
    labels = ['type-feature', 'library']
    title = 'Cmd: list available completions from the cmd.Cmd subclass and filter out EOF handler(s)'
    updated_at = <Date 2019-11-07.00:41:34.063>
    user = 'https://github.com/ngie-eign'
    

    bugs.python.org fields:

    activity = <Date 2019-11-07.00:41:34.063>
    actor = 'python-dev'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2011-10-18.19:16:06.030>
    creator = 'ngie'
    dependencies = []
    files = ['23449', '23485', '26593', '26594']
    hgrepos = []
    issue_num = 13214
    keywords = ['patch']
    message_count = 8.0
    messages = ['145856', '145868', '146060', '166859', '166861', '309788', '343874', '353374']
    nosy_count = 6.0
    nosy_names = ['rhettinger', 'ngie', 'Catherine.Devlin', 'boompig', 'aldwinaldwin', 'Kimball Leavitt']
    pr_nums = ['17074']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue13214'
    versions = ['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.