Skip to content

Conversation

@serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Sep 17, 2025

Fix trailing space before a wrapped long word if the line length with a space is exactly "width".

Fix trailing space before a wrapped long word if the line length with
a space is exactly "width".
@serhiy-storchaka serhiy-storchaka force-pushed the textwrap-trailing-space-before-long-word branch from 30ea5ce to c302389 Compare September 17, 2025 19:04
@serhiy-storchaka serhiy-storchaka linked an issue Sep 19, 2025 that may be closed by this pull request
@serhiy-storchaka serhiy-storchaka merged commit 1c598e0 into python:main Oct 10, 2025
81 of 83 checks passed
@miss-islington-app
Copy link

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 10, 2025
…honGH-139070)

Fix trailing space before a wrapped long word if the line length with
a space is exactly "width".
(cherry picked from commit 1c598e0)

Co-authored-by: Serhiy Storchaka <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 10, 2025
…honGH-139070)

Fix trailing space before a wrapped long word if the line length with
a space is exactly "width".
(cherry picked from commit 1c598e0)

Co-authored-by: Serhiy Storchaka <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Oct 10, 2025

GH-139902 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Oct 10, 2025
@bedevere-app
Copy link

bedevere-app bot commented Oct 10, 2025

GH-139903 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Oct 10, 2025
serhiy-storchaka added a commit that referenced this pull request Oct 10, 2025
…-139070) (GH-139903)

Fix trailing space before a wrapped long word if the line length with
a space is exactly "width".
(cherry picked from commit 1c598e0)

Co-authored-by: Serhiy Storchaka <[email protected]>
serhiy-storchaka added a commit that referenced this pull request Oct 10, 2025
…-139070) (GH-139902)

Fix trailing space before a wrapped long word if the line length with
a space is exactly "width".
(cherry picked from commit 1c598e0)

Co-authored-by: Serhiy Storchaka <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

textwrap can leave a trailing space before long word

1 participant