FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

bpo-36854: Move _PyRuntimeState.gc to PyInterpreterState by vstinner · Pull Request #17287 · python/cpython · GitHub

/ cpython Public

bpo-36854: Move _PyRuntimeState.gc to PyInterpreterState - #17287

Merged
vstinner merged 1 commit into
python:masterfrom
vstinner:move_gcstate
Nov 20, 2019
Merged

bpo-36854: Move _PyRuntimeState.gc to PyInterpreterState#17287
vstinner merged 1 commit into
python:masterfrom
vstinner:move_gcstate

Conversation

vstinner commented Nov 20, 2019
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member
  • 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.

Copy link
Copy Markdown
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 merged commit 7247407 into python:master Nov 20, 2019
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).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL