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

gh-111178: Fix function signature for test_threading #131663

Merged
merged 2 commits into from
Mar 24, 2025

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Mar 24, 2025

Copy link
Member

@picnixz picnixz left a comment

Choose a reason for hiding this comment

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

You can remove the explicit cast to _Py_once_fn_t:

    _PyOnceFlag_CallOnce(&self->once, (_Py_once_fn_t *)force_done, self);

@vstinner vstinner enabled auto-merge (squash) March 24, 2025 13:32
@vstinner vstinner merged commit 78f1bac into python:main Mar 24, 2025
41 checks passed
@vstinner vstinner deleted the ubsan_test_threading branch March 24, 2025 13:56
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.

None yet

2 participants