Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Merged
vstinner merged 1 commit intopython:mainpython/cpython:mainfrom
vstinner:cleanup_python_hCopy head branch name to clipboard
Oct 11, 2021
Merged

bpo-45434: Clean-up Python.h header file#28883
vstinner merged 1 commit intopython:mainpython/cpython:mainfrom
vstinner:cleanup_python_hCopy head branch name to clipboard

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.