Skip to content

Conversation

@vstinner
Copy link
Member

@vstinnervstinner commented Nov 23, 2018

  • Move object.h code surrounded by "#ifndef Py_LIMITED_API"
    to a new Include/cpython/object.h header file.
  • "typedef struct _typeobject PyTypeObject;" is now always defined
    in object.h, but if Py_LIMITED_API is not defined,
    Include/cpython/object.h also defines the structure.
  • Complete the printfunc comment to mention Py_LIMITED_API define.

https://bugs.python.org/issue35134

* Move object.h code surrounded by "#ifndef Py_LIMITED_API" to a new Include/cpython/object.h header file. * "typedef struct _typeobject PyTypeObject;" is now always defined in object.h, but if Py_LIMITED_API is not defined, Include/cpython/object.h also defines the structure. * Complete the printfunc comment to mention Py_LIMITED_API define.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@vstinner@the-knights-who-say-ni@bedevere-bot