Skip to content

Text width in optparse.py can become negative #57316

@adambyrtek

Description

@adambyrtek
mannequin
BPO 13107
Nosy @mitsuhiko, @ezio-melotti, @serhiy-storchaka, @elazarg
Files
  • fixargparse.patch: patch for argparse
  • argparse_ugly.patch: no wrapping below width=30. +basic test
  • argparse_less_ugly.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 = 'https://github.com/serhiy-storchaka'
    closed_at = <Date 2014-01-09.21:27:18.292>
    created_at = <Date 2011-10-05.11:08:22.784>
    labels = ['easy', 'type-bug', 'library']
    title = 'Text width in optparse.py can become negative'
    updated_at = <Date 2014-01-09.21:27:18.291>
    user = 'https://bugs.python.org/adambyrtek'

    bugs.python.org fields:

    activity = <Date 2014-01-09.21:27:18.291>
    actor = 'serhiy.storchaka'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2014-01-09.21:27:18.292>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2011-10-05.11:08:22.784>
    creator = 'adambyrtek'
    dependencies = []
    files = ['31552', '31731', '31735']
    hgrepos = []
    issue_num = 13107
    keywords = ['patch', 'easy']
    message_count = 10.0
    messages = ['144947', '145145', '196455', '196740', '196802', '196804', '197502', '197544', '207795', '207797']
    nosy_count = 8.0
    nosy_names = ['bethard', 'aronacher', 'ezio.melotti', 'adambyrtek', 'python-dev', 'serhiy.storchaka', 'elazar', 'dmi.baranov']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue13107'
    versions = ['Python 2.7', 'Python 3.3', 'Python 3.4']

    Metadata

    Metadata

    Labels

    easystdlibStandard 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