bpo-42208: Pass tstate to _PyGC_CollectNoFail() by vstinner · Pull Request #23038 · python/cpython · GitHub
Skip to content

bpo-42208: Pass tstate to _PyGC_CollectNoFail() - #23038

Merged
vstinner merged 1 commit into
python:masterfrom
vstinner:gc_interp
Oct 30, 2020
Merged

vstinner merged 1 commit into
python:masterfrom
vstinner:gc_interp

Conversation

@vstinner

@vstinner vstinner commented Oct 30, 2020

Copy link
Copy Markdown
Member

Move private _PyGC_CollectNoFail() to the internal C API.

Remove the private _PyGC_CollectIfEnabled() which was just an alias
to the public PyGC_Collect() function since Python 3.8.

Rename functions:

  • collect() => gc_collect_main()
  • collect_with_callback() => gc_collect_with_callback()
  • collect_generations() => gc_collect_generations()

https://bugs.python.org/issue42208

Move private _PyGC_CollectNoFail() to the internal C API.

Remove the private _PyGC_CollectIfEnabled() which was just an alias
to the public PyGC_Collect() function since Python 3.8.

Rename functions:

* collect() => gc_collect_main()
* collect_with_callback() => gc_collect_with_callback()
* collect_generations() => gc_collect_generations()
@vstinner
vstinner merged commit 8b34148 into python:master Oct 30, 2020
@vstinner
vstinner deleted the gc_interp branch October 30, 2020 16:00
@pablogsal

Copy link
Copy Markdown
Member

@vstinner

Copy link
Copy Markdown
Member Author

adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
Move private _PyGC_CollectNoFail() to the internal C API.

Remove the private _PyGC_CollectIfEnabled() which was just an alias
to the public PyGC_Collect() function since Python 3.8.

Rename functions:

* collect() => gc_collect_main()
* collect_with_callback() => gc_collect_with_callback()
* collect_generations() => gc_collect_generations()
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.

4 participants