Skip to content

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Nov 20, 2019

  • Rename _PyGC_InitializeRuntime() to _PyGC_InitState()
  • finalize_interp_clear() now also calls _PyGC_Fini() in
    subinterpreters.

https://bugs.python.org/issue36854

* Rename _PyGC_InitializeRuntime() to _PyGC_InitState()
* finalize_interp_clear() now also calls _PyGC_Fini() in
  subinterpreters.
@vstinner
Copy link
Member Author

cc @ericsnowcurrently @pablogsal @nanjekyejoannah: That's a great achievement/milestone for the implementation of subinterpreters ;-)

Eric: I managed to reorganize Python thread state finalization to prevent having to call tstate->on_delete() earlier (you called it in PyThreadState_Clear()).

@vstinner vstinner merged commit 7247407 into python:master Nov 20, 2019
@vstinner vstinner deleted the move_gcstate branch November 20, 2019 11:25
pablogsal added a commit to pablogsal/cpython that referenced this pull request Dec 3, 2019
jacobneiltaylor pushed a commit to jacobneiltaylor/cpython that referenced this pull request Dec 5, 2019
)

* Rename _PyGC_InitializeRuntime() to _PyGC_InitState()
* finalize_interp_clear() now also calls _PyGC_Fini() in
  subinterpreters (clear the GC state).
shihai1991 pushed a commit to shihai1991/cpython that referenced this pull request Jan 31, 2020
)

* Rename _PyGC_InitializeRuntime() to _PyGC_InitState()
* finalize_interp_clear() now also calls _PyGC_Fini() in
  subinterpreters (clear the GC state).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants