textwrap.wrap: new argument for more pleasing output

Open
#56,694 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
tooling

Research direction

Read the attached Issue12485.v2.patch and its included tests, then inspect the standard-library textwrap.py implementation behind textwrap.wrap. Confirm the intended argument and output behavior from BPO issue 12485; done means the proposal is implemented with passing tests.

Written by the indexing model from the issue text.

Description

stdlib type-feature
BPO 12485
Nosy @birkenfeld, @merwok, @bitdancer, @wiggin15
Files
  • textwrap.py-beautiful-2011-07-11_22-01-31_r71296+.diff: Addition of beautiful algorithm to textwrap.py
  • Issue12485.v2.patch: Addition of beautiful algorithm to textwrap.py with tests
  • 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 2011-07-04.02:13:01.255>
    labels = ['type-feature', 'library']
    title = 'textwrap.wrap: new argument for more pleasing output'
    updated_at = <Date 2015-05-17.21:58:40.646>
    user = 'https://bugs.python.org/parent5446'
    

    bugs.python.org fields:

    activity = <Date 2015-05-17.21:58:40.646>
    actor = 'wiggin15'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2011-07-04.02:13:01.255>
    creator = 'parent5446'
    dependencies = []
    files = ['22626', '38978']
    hgrepos = []
    issue_num = 12485
    keywords = ['patch', 'needs review']
    message_count = 7.0
    messages = ['139731', '139785', '139825', '139827', '139880', '140170', '240827']
    nosy_count = 6.0
    nosy_names = ['georg.brandl', 'eric.araujo', 'r.david.murray', 'wiggin15', 'parent5446', 'gavanderlinden']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'test needed'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue12485'
    versions = ['Python 3.5']
    

    Dominant language
    Python
    Stars
    77.2k
    Forks
    36k
    Avg merge
    1d 9h
    Merged PRs (30d)
    558

    Contributor guide

    Open the contributing guide

    First steps

    1. Read the whole issue, then the project's contributing guide.
    2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
    3. Fork the repository and make your change on a branch.
    4. Open a pull request that references the issue number.

    More from python/cpython

    All issues in python/cpython

    Similar issues

    More Python issues

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.