Skip to content

Keep memory report aligned in regrtest output - #159967

Merged
zware merged 1 commit into
python:mainfrom
zware:regrtest_align_mem_output
Oct 21, 2026
Merged

zware merged 1 commit into
python:mainfrom
zware:regrtest_align_mem_output

Conversation

@zware

@zware zware commented Oct 20, 2026

Copy link
Copy Markdown
Member

It's a minor annoyance when the tests are bouncing around the 999-1025 MiB range causing everything later in the line to bounce around by up to 3 columns.

@zware
zware merged commit 638d638 into python:main Oct 21, 2026
110 of 112 checks passed
@zware
zware deleted the regrtest_align_mem_output branch October 21, 2026 16:23
@vstinner

Copy link
Copy Markdown
Member

Nice enhancement, thanks!

@zware zware added the needs backport to 3.15 bugs and security fixes label Oct 21, 2026
@miss-islington-app

Copy link
Copy Markdown

Thanks @zware for the PR 🌮🎉.. I'm working now to backport this PR to: 3.15.
🐍🍒⛏🤖

@vstinner

Copy link
Copy Markdown
Member

@zware: Oh, I wanted to backport the change but then I recalled that the memory usage is a Python 3.16 feature only. I didn't backport the feature, it requires changing too much code.

@miss-islington-app

Copy link
Copy Markdown

Sorry, @zware, I could not cleanly backport this to 3.15 due to a conflict.

Please backport manually with cherry_picker, see the devguide for more information.

cherry_picker 638d638a5ad3a7b34d5d4597bbb61c1645bdeb6a 3.15

@zware

zware commented Oct 21, 2026

Copy link
Copy Markdown
Member Author

Works for me; I was only going to backport as far as it went cleanly (which turns out to be not at all :)).

@zware zware removed the needs backport to 3.15 bugs and security fixes label Oct 21, 2026
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