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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-108867: Add PyThreadState_GetUnchecked() function #108870

Merged
merged 2 commits into from
Oct 3, 2023

Commits on Oct 3, 2023

  1. pythongh-108867: Add PyThreadState_GetUnchecked() function

    Add PyThreadState_GetUnchecked() function: similar to
    PyThreadState_Get(), but don't issue a fatal error if it is NULL. The
    caller is responsible to check if the result is NULL. Previously,
    this function was private and known as _PyThreadState_UncheckedGet().
    vstinner committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    2372091 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    48da305 View commit details
    Browse the repository at this point in the history