Skip to content

argparse: terminal width is not detected properly #57250

Description

@zbysz
mannequin
BPO 13041
Nosy @florentx, @berkerpeksag
PRs
  • bpo-13041: Use shutil.get_terminal_size() in argparse.HelpFormatter #8459
  • Dependencies
  • bpo-13609: Add "os.get_terminal_size()" function
  • Files
  • issue13041.patch: use shutil.get_terminal_size()
  • 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 = <Date 2018-07-25.15:24:20.395>
    created_at = <Date 2011-09-24.22:07:18.739>
    labels = ['3.8', 'type-feature', 'library']
    title = 'argparse: terminal width is not detected properly'
    updated_at = <Date 2018-07-25.15:24:20.393>
    user = 'https://bugs.python.org/zbysz'

    bugs.python.org fields:

    activity = <Date 2018-07-25.15:24:20.393>
    actor = 'berker.peksag'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-07-25.15:24:20.395>
    closer = 'berker.peksag'
    components = ['Library (Lib)']
    creation = <Date 2011-09-24.22:07:18.739>
    creator = 'zbysz'
    dependencies = ['13609']
    files = ['24602']
    hgrepos = []
    issue_num = 13041
    keywords = ['patch']
    message_count = 12.0
    messages = ['144507', '144521', '144523', '149531', '149587', '150728', '153961', '223222', '223298', '223809', '315274', '322365']
    nosy_count = 7.0
    nosy_names = ['bethard', 'zbysz', 'denilsonsa', 'flox', 'jmehnle', 'berker.peksag', 'paul.j3']
    pr_nums = ['8459']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue13041'
    versions = ['Python 3.8']

    Activity

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.8 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions