Skip to content

Fix shutil.get_terminal_size() to catch AttributeError #70988

@Vgr255

Description

@Vgr255
mannequin
BPO 26801
Nosy @vstinner, @larryhastings, @ned-deily, @vadmium, @serhiy-storchaka, @1st1, @Vgr255
Files
  • get_terminal_size.diff
  • get_term_size_with_test.patch
  • get_term_size_with_test2.patch
  • get_terminal_size_valueerror.patch
  • get_terminal_size_valueerror2.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 = <Date 2016-11-08.22:22:45.538>
    created_at = <Date 2016-04-18.23:43:57.093>
    labels = ['type-bug', 'library']
    title = 'Fix shutil.get_terminal_size() to catch AttributeError'
    updated_at = <Date 2016-11-08.22:22:45.526>
    user = 'https://github.com/Vgr255'

    bugs.python.org fields:

    activity = <Date 2016-11-08.22:22:45.526>
    actor = 'yselivanov'
    assignee = 'none'
    closed = True
    closed_date = <Date 2016-11-08.22:22:45.538>
    closer = 'yselivanov'
    components = ['Library (Lib)']
    creation = <Date 2016-04-18.23:43:57.093>
    creator = 'abarry'
    dependencies = []
    files = ['42511', '42522', '42523', '42525', '42529']
    hgrepos = []
    issue_num = 26801
    keywords = ['patch']
    message_count = 26.0
    messages = ['263701', '263705', '263706', '263710', '263748', '263749', '263755', '263756', '263760', '263762', '263764', '263766', '263767', '263768', '263773', '263783', '263804', '264093', '264095', '264096', '264097', '264099', '264100', '278347', '280357', '280358']
    nosy_count = 8.0
    nosy_names = ['vstinner', 'larry', 'ned.deily', 'python-dev', 'martin.panter', 'serhiy.storchaka', 'yselivanov', 'abarry']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue26801'
    versions = ['Python 3.5', 'Python 3.6']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions