argparse set_defaults on subcommands should override top level set_defaults

Aperta
#53,597 22 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@serhiy-storchaka ci sta già lavorando.

Dal 11/10/2024.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

stdlib type-bug
BPO 9351
Nosy @ezio-melotti, @bitdancer, @akheron, @remram44, @shihai1991
Files
  • issue9351.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 2010-07-23.14:06:50.789>
    labels = ['type-bug', 'library']
    title = 'argparse set_defaults on subcommands should override top level set_defaults'
    updated_at = <Date 2021-10-27.21:44:47.104>
    user = 'https://bugs.python.org/bethard'
    

    bugs.python.org fields:

    activity = <Date 2021-10-27.21:44:47.104>
    actor = 'paul.j3'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2010-07-23.14:06:50.789>
    creator = 'bethard'
    dependencies = []
    files = ['27795']
    hgrepos = []
    issue_num = 9351
    keywords = ['patch']
    message_count = 21.0
    messages = ['111324', '173602', '174147', '174206', '174208', '206993', '219332', '229619', '229620', '229968', '229983', '230056', '230084', '233041', '244768', '244786', '274369', '342154', '350638', '373665', '405130']
    nosy_count = 12.0
    nosy_names = ['bethard', 'ezio.melotti', 'r.david.murray', 'nailor', 'python-dev', 'petri.lehtinen', 'paul.j3', 'mikn', 'remram', 'Changaco', 'smparkes', 'shihai1991']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'needs patch'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue9351'
    versions = ['Python 2.7', 'Python 3.4', 'Python 3.5']
    

    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.