Skip to content

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Sep 1, 2023

  • Move <ctype.h>, <limits.h> and <stdarg.h> standard includes to Python.h.
  • Move "pystats.h" include from object.h to Python.h.
  • Remove redundant "pymem.h" include in objimpl.h and "pyport.h" include in pymem.h; Python.h already includes them earlier.
  • Remove redundant <wchar.h> include in unicodeobject.h; Python.h already includes it.
  • Move _SGI_MP_SOURCE define from Python.h to pyport.h.
  • pycore_condvar.h includes explicitly <unistd.h> for the _POSIX_THREADS macro.

* Move <ctype.h>, <limits.h> and <stdarg.h> standard includes to
  Python.h.
* Move "pystats.h" include from object.h to Python.h.
* Remove redundant "pymem.h" include in objimpl.h and "pyport.h"
  include in pymem.h; Python.h already includes them earlier.
* Remove redundant <wchar.h> include in unicodeobject.h; Python.h
  already includes it.
* Move _SGI_MP_SOURCE define from Python.h to pyport.h.
* pycore_condvar.h includes explicitly <unistd.h> for the
  _POSIX_THREADS macro.
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.

2 participants