Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete iter_dict_nosegv test #4459

Merged
merged 1 commit into from
Aug 21, 2024
Merged

Conversation

ngoldbaum
Copy link
Contributor

It turns out this test isn't deadlocking, it's just very slow on a debug build of Python. It takes 1.3 s on 3.13.0rc1, 6.31 s on a debug build of 3.13.0rc1, and 14.02 s on a debug free-threaded build. This sort of performance difference is expected I think.

Creating a dict that holds 10 million items also seems like a lot for a test. I don't have context for the original issue this test was added for, but maybe a change to use a dict with fewer items would be OK?

@ngoldbaum ngoldbaum added the CI-skip-changelog Skip checking changelog entry label Aug 20, 2024
@davidhewitt
Copy link
Member

I would be in favour of just removing this whole test; it dates back to a time long ago when PyO3 had much less test coverage and had a lot more rough edges.

@ngoldbaum ngoldbaum changed the title Don't skip iter_dict_nosegv test on free-threaded build Delete iter_dict_nosegv test Aug 20, 2024
@davidhewitt davidhewitt added this pull request to the merge queue Aug 20, 2024
Merged via the queue into PyO3:main with commit 43110ef Aug 21, 2024
43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI-skip-changelog Skip checking changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants