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 xdegaye
Recipients Alex.Willmer, xdegaye
Date 2016-12-21.20:24:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
android-ndk-r14 introduces "Unified Headers" [1] and is planned to be released late january/early february 2017 [2].

__ANDROID_API__ is not anymore defined in 'android/api-level.h' that is currently included by Include/pyport.h, and is passed instead with -D__ANDROID_API__=$API when compiling. And 'android/api-level.h' is now used to set the API level to 10000 as a Magic version number for a current development build when __ANDROID_API__ is not defined (see attached file).

Adoption of android-ndk-r14 should be made with the following changes:
* Remove the include of <android/api-level.h> in Include/pyport.h.
* Update to abort when __ANDROID__ is defined and __ANDROID_API__ is not defined.
* Revert the changes made in issues #28538 and #28762, android-ndk-r14 fixes the problems raised in these two issues.

Date User Action Args
2016-12-21 20:24:25xdegayesetrecipients: + xdegaye, Alex.Willmer
2016-12-21 20:24:25xdegayesetmessageid: <>
2016-12-21 20:24:25xdegayelinkissue29040 messages
2016-12-21 20:24:25xdegayecreate