gh-106320: Remove private _PyOS_IsMainThread() function by vstinner · Pull Request #108605 · python/cpython · GitHub
Skip to content

gh-106320: Remove private _PyOS_IsMainThread() function#108605

Merged
vstinner merged 1 commit intopython:mainfrom
vstinner:pycore_signal
Aug 29, 2023
Merged

gh-106320: Remove private _PyOS_IsMainThread() function#108605
vstinner merged 1 commit intopython:mainfrom
vstinner:pycore_signal

Conversation

@vstinner
Copy link
Copy Markdown
Member

@vstinner vstinner commented Aug 29, 2023

Move the following private API to the internal C API (pycore_signal.h):

  • _PyOS_IsMainThread()
  • _PyOS_SigintEvent()

No longer export these functions.

Move the following private API to the internal C API
(pycore_signal.h): _PyOS_IsMainThread() and _PyOS_SigintEvent().
@vstinner vstinner enabled auto-merge (squash) August 29, 2023 03:02
@vstinner vstinner merged commit fadc2dc into python:main Aug 29, 2023
@vstinner vstinner deleted the pycore_signal branch August 29, 2023 03:40
@jbms
Copy link
Copy Markdown
Contributor

jbms commented Dec 5, 2024

@vstinner
Copy link
Copy Markdown
Member Author

Would you mind to open a new issue since this one is closed? Please explain your use case and why you need this function to be exposed.

@vstinner
Copy link
Copy Markdown
Member Author

vstinner commented Jan 9, 2025

Ping @jbms.

@jbms
Copy link
Copy Markdown
Contributor

jbms commented Jan 9, 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.

3 participants