Message250889
"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:50 | vstinner | set | recipients:
+ vstinner, axh |
| 2015-09-17 14:08:50 | vstinner | set | messageid: <[email protected]> |
| 2015-09-17 14:08:50 | vstinner | link | issue25150 messages |
| 2015-09-17 14:08:50 | vstinner | create | |
|