]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45434: Cleanup Python.h header file (GH-28883)
authorVictor Stinner <vstinner@python.org>
Mon, 11 Oct 2021 20:51:32 +0000 (22:51 +0200)
committerGitHub <noreply@github.com>
Mon, 11 Oct 2021 20:51:32 +0000 (22:51 +0200)
commit47717d1186563695e798b40350d15b00d04a5237
tree60d1ca925871a411d379fb1ce141b517fb80b562
parent2f92e2a590f0e5d2d3093549f5af9a4a1889eb5a
bpo-45434: Cleanup Python.h header file (GH-28883)

* 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.
Include/Python.h
Include/pyport.h