Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Argparse incorrectly handles '--' as argument to option #58572

Copy link
Copy link
@mmaker

Description

@mmaker
mannequin
Issue body actions
BPO 14364
Nosy @rhettinger, @merwok, @bitdancer, @mmaker, @vadmium, @shihai1991, @horazont
PRs
  • gh-58572: Fix behavior when '--' as argument to option in argparse #15714
  • Files
  • foo.py
  • issue14364.test.patch
  • dbldash.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-03-18.14:29:12.929>
    labels = ['3.7', '3.8', 'type-bug', 'library', '3.9']
    title = "Argparse incorrectly handles '--' as argument to option"
    updated_at = <Date 2021-03-23.01:07:11.301>
    user = 'https://github.com/mmaker'

    bugs.python.org fields:

    activity = <Date 2021-03-23.01:07:11.301>
    actor = 'rhettinger'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2012-03-18.14:29:12.929>
    creator = 'maker'
    dependencies = []
    files = ['24926', '29938', '45944']
    hgrepos = []
    issue_num = 14364
    keywords = ['patch', 'needs review']
    message_count = 17.0
    messages = ['156254', '156256', '156275', '156293', '187283', '187344', '187346', '187349', '262545', '262558', '283501', '351230', '353865', '354001', '354049', '354066', '389361']
    nosy_count = 9.0
    nosy_names = ['rhettinger', 'bethard', 'eric.araujo', 'r.david.murray', 'maker', 'martin.panter', 'paul.j3', 'shihai1991', 'jssfr']
    pr_nums = ['15714']
    priority = 'high'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue14364'
    versions = ['Python 2.7', 'Python 3.7', 'Python 3.8', 'Python 3.9']

    Reactions are currently unavailable

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifeend of life3.8 (EOL)end of lifeend of life3.9 (EOL)end of lifeend of lifestdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
      No fields configured for issues without a type.

      Projects

      Status
      Doc issues
      Show more project fields

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        Morty Proxy This is a proxified and sanitized view of the page, visit original site.