Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-96310: Fix a traceback in argparse when all options in a mutually exclusive group are suppressed #96311

Commits on Aug 26, 2022

  1. pythongh-96310: Fix a traceback in argparse when all options in a mut…

    …ually exclusive group are suppressed
    
    Reproducer depends on terminal size - the traceback occurs when there's
    an option long enough so the usage line doesn't fit the terminal width.
    Option order is also important for reproducibility.
    
    Excluding empty groups (with all options suppressed) from inserts
    fixes the problem.
    dmach committed Aug 26, 2022
    Configuration menu
    Copy the full SHA
    616c5fe View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2024

  1. Configuration menu
    Copy the full SHA
    fa702d0 View commit details
    Browse the repository at this point in the history
  2. Polishing.

    serhiy-storchaka committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    3b9b636 View commit details
    Browse the repository at this point in the history