Skip to content

Make printing log lines to the terminal a little cleaner when building WASI#140772

Merged
brettcannon merged 6 commits into
python:mainfrom
brettcannon:wasi-pprint-logs
Oct 30, 2025
Merged

Make printing log lines to the terminal a little cleaner when building WASI#140772
brettcannon merged 6 commits into
python:mainfrom
brettcannon:wasi-pprint-logs

Conversation

@brettcannon

Copy link
Copy Markdown
Member

No description provided.

@savannahostrowski savannahostrowski left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@brettcannon

Copy link
Copy Markdown
Member Author

Updated for 140769 and I simplified the extra spacing logic since I actually haven't seen what terminals do with Unicode code points that are 3 or more.

@brettcannon brettcannon merged commit abd19ed into python:main Oct 30, 2025
44 checks passed
@brettcannon brettcannon deleted the wasi-pprint-logs branch October 30, 2025 17:35
@miss-islington-app

Copy link
Copy Markdown

Thanks @brettcannon for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 30, 2025
…g WASI (pythonGH-140772)

(cherry picked from commit abd19ed)

Co-authored-by: Brett Cannon <brett@python.org>
@bedevere-app

bedevere-app Bot commented Oct 30, 2025

Copy link
Copy Markdown

GH-140804 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 30, 2025
brettcannon added a commit that referenced this pull request Oct 30, 2025
…building WASI (GH-140772) (GH-140804)

Make printing log lines to the terminal a little cleaner when building WASI (GH-140772)
(cherry picked from commit abd19ed)

Co-authored-by: Brett Cannon <brett@python.org>
StanFromIreland pushed a commit to StanFromIreland/cpython that referenced this pull request Dec 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants