FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-118846: Fix PGO tests in free-threaded build by colesbury · Pull Request #118862 · python/cpython · GitHub

/ cpython Public

gh-118846: Fix PGO tests in free-threaded build - #118862

Merged
colesbury merged 1 commit into
python:mainfrom
colesbury:gh-118846-pgo-tests
May 9, 2024
Merged

gh-118846: Fix PGO tests in free-threaded build#118862
colesbury merged 1 commit into
python:mainfrom
colesbury:gh-118846-pgo-tests

Conversation

colesbury commented May 9, 2024
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

Avoid immortalizing objects in tests that verify garbage collection of classes or modules.

This fixes test_ordered_dict and test_struct.

Avoid immortalizing objects in some tests that test behavior of
collecting classes or modules.

This fixes test_ordered_dict and test_struct.

Copy link
Copy Markdown
Contributor Author

cc @hroncok - I'll look at the other tests next, but this should be enough to fix the PGO build.

hroncok commented May 9, 2024

Copy link
Copy Markdown
Contributor

but this should be enough to fix the PGO build.

Indeed it is. Thanks.

DinoV left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM!

colesbury merged commit 1b1db2f into python:main May 9, 2024

Copy link
Copy Markdown

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

colesbury deleted the gh-118846-pgo-tests branch May 9, 2024 20:06
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 9, 2024
Avoid immortalizing objects in tests that verify garbage collection of
classes or modules.

This fixes test_ordered_dict and test_struct.
(cherry picked from commit 1b1db2f)

Co-authored-by: Sam Gross <colesbury@gmail.com>

bedevere-app Bot commented May 9, 2024

Copy link
Copy Markdown

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

bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label May 9, 2024
colesbury added a commit that referenced this pull request May 9, 2024
…118867)

Avoid immortalizing objects in tests that verify garbage collection of
classes or modules.

This fixes test_ordered_dict and test_struct.
(cherry picked from commit 1b1db2f)

Co-authored-by: Sam Gross <colesbury@gmail.com>
SonicField pushed a commit to SonicField/cpython that referenced this pull request May 10, 2024
Avoid immortalizing objects in tests that verify garbage collection of
classes or modules.

This fixes test_ordered_dict and test_struct.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL