Visitar URL original
bpo-35134: Split warnings.h and weakrefobject.h by vstinner · Pull Request #29042 · python/cpython · GitHub
The Wayback Machine - https://web.archive.org/web/20221223152818/https://github.com/python/cpython/pull/29042/commits
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-35134: Split warnings.h and weakrefobject.h #29042

Merged
merged 2 commits into from Oct 18, 2021

Commits on Oct 18, 2021

  1. bpo-35134: Split warnings.h and weakrefobject.h

    Split header files to move the non-limited API to Include/cpython/:
    
    * Include/warnings.h => Include/cpython/warnings.h
    * Include/weakrefobject.h => Include/cpython/weakrefobject.h
    
    Exclude PyWeakref_GET_OBJECT() from the limited C API. It never
    worked since the PyWeakReference structure is opaque in the limited C
    API.
    
    Move _PyWarnings_Init() and _PyErr_WarnUnawaitedCoroutine() to the
    internal C API.
    vstinner committed Oct 18, 2021
  2. Fix _PyWarnings_Init()

    vstinner committed Oct 18, 2021