Skip to content

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
diegorusso pushed a commit to diegorusso/cpython that referenced this pull request Apr 1, 2025
seehwan pushed a commit to seehwan/cpython that referenced this pull request Apr 16, 2025
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.

2 participants