This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients axh, vstinner
Date 2015-09-17.14:08:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
"When I just comment out the << #include "pyatomic.h"  >> line, python 3.5.0 will no longer compile"

Sure. My idea is to "disable" the header with we are not building Python itself. There is a nice define for that: Py_BUILD_CORE. See attached patch.

Since all symbols in pyatomic.h are prefixed by _Py, this header is fully part of the Python private API and so it's fine to modify it in a bugfix release (3.5.0 => 3.5.1).
Date User Action Args
2015-09-17 14:08:50vstinnersetrecipients: + vstinner, axh
2015-09-17 14:08:50vstinnersetmessageid: <>
2015-09-17 14:08:50vstinnerlinkissue25150 messages
2015-09-17 14:08:50vstinnercreate