Skip to content

bpo-45434: Clean-up Python.h header file#28883

Merged
vstinner merged 1 commit intopython:mainfrom
vstinner:cleanup_python_h
Oct 11, 2021
Merged

bpo-45434: Clean-up Python.h header file#28883
vstinner merged 1 commit intopython:mainfrom
vstinner:cleanup_python_h

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Oct 11, 2021

  • Move limits.h include and UCHAR_MAX checks to pyport.h
  • Move sanitizers macros to pyport.h
  • Remove comment about <assert.h>: C extensions are built with NDEBUG
    automatically by Python.

https://bugs.python.org/issue45434

* Move limits.h include and UCHAR_MAX checks to pyport.h
* Move sanitizers macros to pyport.h
* Remove comment about <assert.h>: C extensions are built with NDEBUG
  automatically by Python.
@vstinner vstinner changed the title Clean-up Python.h header file bpo-45434: Clean-up Python.h header file Oct 11, 2021
@vstinner vstinner merged commit 47717d1 into python:main Oct 11, 2021
@vstinner vstinner deleted the cleanup_python_h branch October 11, 2021 20:51
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.

3 participants