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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from Oct 30, 2020
Merged

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

merged 1 commit into from Oct 30, 2020

Commits on Oct 30, 2020

  1. bpo-42208: Pass tstate to _PyGC_CollectNoFail()

    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 committed Oct 30, 2020
    Configuration menu
    Copy the full SHA
    1798395 View commit details
    Browse the repository at this point in the history