Skip to content

[3.14] gh-157628: regrtest: Only report a leak if all runs leak one FD (GH-157629) (GH-157753) - #159088

Merged
vstinner merged 1 commit into
python:3.14from
miss-islington:backport-0a4f255-3.14
Oct 9, 2026
Merged

vstinner merged 1 commit into
python:3.14from
miss-islington:backport-0a4f255-3.14

Conversation

@miss-islington

Copy link
Copy Markdown
Contributor

gh-157628: regrtest: Only report a leak if all runs leak one FD (GH-157629)

In regrtest, only consider that a test leaks if all test runs leak at
least one file descriptor. For example, ignore "[0, 1, -1] file
descriptors, sum=0" deltas, instead of reporting it as a leak.

Add a regression test.
(cherry picked from commit 0a4f255)

Co-authored-by: Victor Stinner vstinner@python.org
(cherry picked from commit bba171e)

… one FD (pythonGH-157629) (pythonGH-157753)

pythongh-157628: regrtest: Only report a leak if all runs leak one FD (pythonGH-157629)

In regrtest, only consider that a test leaks if all test runs leak at
least one file descriptor. For example, ignore "[0, 1, -1] file
descriptors, sum=0" deltas, instead of reporting it as a leak.

Add a regression test.
(cherry picked from commit 0a4f255)

Co-authored-by: Victor Stinner <vstinner@python.org>
(cherry picked from commit bba171e)
@bedevere-app bedevere-app Bot added the type-feature A feature request or enhancement label Oct 9, 2026
@vstinner
vstinner enabled auto-merge (squash) October 9, 2026 21:35
@vstinner vstinner removed the type-feature A feature request or enhancement label Oct 9, 2026
@vstinner
vstinner merged commit 5110c9f into python:3.14 Oct 9, 2026
61 of 64 checks passed
@miss-islington
miss-islington deleted the backport-0a4f255-3.14 branch October 9, 2026 22:05
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.

2 participants