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

Offen
#57,423 8 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
25/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
python
Bereich
cli

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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']
    

    Vorherrschende Sprache
    Python
    Sterne
    77.2k
    Forks
    36k
    Ø Merge
    1 T. 9 Std.
    Gemergte PRs (30 T.)
    558

    Beitragsleitfaden

    Beitragsleitfaden öffnen

    Erste Schritte

    1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
    2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
    3. Forken Sie das Repository und arbeiten Sie in einem Branch.
    4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

    Mehr aus python/cpython

    Alle Issues in python/cpython

    Ähnliche Issues

    Weitere Issues zu Python

    Neue Issues direkt in Ihr Postfach

    Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.