FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-108765: Move standard includes to Python.h by vstinner · Pull Request #108769 · python/cpython · GitHub

/ cpython Public

gh-108765: Move standard includes to Python.h - #108769

Merged
vstinner merged 2 commits into
python:mainfrom
vstinner:std_includes
Sep 1, 2023
Merged

gh-108765: Move standard includes to Python.h#108769
vstinner merged 2 commits into
python:mainfrom
vstinner:std_includes

Conversation

vstinner commented Sep 1, 2023
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member
  • 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL