Skip to content

textwrap output may change if you wrap a paragraph twice #76578

@larryhastings

Description

@larryhastings
BPO 32397
Nosy @larryhastings, @serhiy-storchaka, @JulienPalard, @csabella, @iritkatriel, @akulakov
PRs
  • gh-76578: Fix textwrap.wrap() so it's stable if run twice. #5615
  • bpo-32397: new option for TextWrapper to allow stable wrapping #27587
  • Files
  • textwrap.isnt.stable.py
  • 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 2017-12-21.14:10:43.127>
    labels = ['type-feature', 'library', '3.11']
    title = 'textwrap output may change if you wrap a paragraph twice'
    updated_at = <Date 2021-08-23.19:11:29.979>
    user = 'https://github.com/larryhastings'

    bugs.python.org fields:

    activity = <Date 2021-08-23.19:11:29.979>
    actor = 'terry.reedy'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2017-12-21.14:10:43.127>
    creator = 'larry'
    dependencies = []
    files = ['47344']
    hgrepos = []
    issue_num = 32397
    keywords = ['patch']
    message_count = 10.0
    messages = ['308872', '308873', '342825', '378248', '398726', '398836', '398839', '398846', '398847', '398858']
    nosy_count = 6.0
    nosy_names = ['larry', 'serhiy.storchaka', 'mdk', 'cheryl.sabella', 'iritkatriel', 'andrei.avk']
    pr_nums = ['5615', '27587']
    priority = 'low'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue32397'
    versions = ['Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.11only security fixesstdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement
      No fields configured for issues without a type.

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions