Skip to content

Textwrap to conform to UAX #14 #86141

Closed as duplicate
Closed as duplicate

Description

@JulienPalard
BPO 41975
Nosy @JulienPalard, @verhovsky

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 2020-10-08.13:19:58.790>
labels = ['library']
title = 'Textwrap to conform to https://www.unicode.org/reports/tr14/tr14-45.html'
updated_at = <Date 2021-02-22.14:17:30.356>
user = 'https://github.com/JulienPalard'

bugs.python.org fields:

activity = <Date 2021-02-22.14:17:30.356>
actor = 'boris'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2020-10-08.13:19:58.790>
creator = 'mdk'
dependencies = []
files = []
hgrepos = []
issue_num = 41975
keywords = []
message_count = 1.0
messages = ['378247']
nosy_count = 2.0
nosy_names = ['mdk', 'boris']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = None
url = 'https://bugs.python.org/issue41975'
versions = []

Activity

  1. JulienPalard commented on Oct 8, 2020

    @JulienPalard
    MemberAuthor

    Currently it looks like our textwrap.fill implementation does not conforms to the Unicode Line Breaking Algorithm from the unicode standard.

    Should this be enhanced?

    If so, as a sidenote, it could be nice to have the override parameter of libunistring 1 to prohibit line breaking at specific places where the algorithm would normally break but where a human don't expect it to.

  2. added
    stdlibStandard Library Python modules in the Lib/ directory
    on Oct 8, 2020
  3. transferred this issue fromon Apr 10, 2022
  4. arhadthedev commented on Feb 13, 2023

    @arhadthedev
    Member

    @malemburg, @ezio-melotti, @benjaminp (as Unicode experts)

  5. changed the title [-]Textwrap to conform to https://www.unicode.org/reports/tr14/tr14-45.html[/-] [+]Textwrap to conform to UAX #14[/+] on Oct 31, 2025
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

    stdlibStandard Library Python modules in the Lib/ directorytopic-unicodetype-featureA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions