◐ Shell
clean mode source ↗

bpo-45434: Clean-up Python.h header file by vstinner · Pull Request #28883 · python/cpython

Skip to content

Navigation Menu

Sign in

Appearance settings

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

Sign up

Appearance settings

Merged

vstinner

merged 1 commit into

python:mainfrom

vstinner:cleanup_python_h

Oct 11, 2021

Merged

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

vstinner

merged 1 commit into

python:mainfrom

vstinner:cleanup_python_h

Conversation

@vstinner

@vstinner vstinner commented

Oct 11, 2021

edited by bedevere-bot

Loading

Copy link Copy Markdown

Member

  • 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

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

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