X Tutup
Skip to content

gh-59956: Clarify Runtime State Status Expectations#101308

Merged
ericsnowcurrently merged 35 commits intopython:mainfrom
ericsnowcurrently:pystate-lifecycle-cleanup
Jan 30, 2023
Merged

gh-59956: Clarify Runtime State Status Expectations#101308
ericsnowcurrently merged 35 commits intopython:mainfrom
ericsnowcurrently:pystate-lifecycle-cleanup

Conversation

@ericsnowcurrently
Copy link
Member

@ericsnowcurrently ericsnowcurrently commented Jan 25, 2023

A PyThreadState can be in one of many states in its lifecycle, represented by some status value. Those statuses haven't been particularly clear, so we're addressing that here. Specifically:

  • made the distinct lifecycle statuses clear on PyThreadState
  • identified expectations of how various lifecycle-related functions relate to status
  • noted the various places where those expectations don't match the actual behavior

At some point we'll need to address the mismatches.

(This change also includes some cleanup.)

Loading
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

X Tutup