Xavier de Gaye added the comment: The android/api-level.h header exists at all the android API levels and define __ANDROID_API__ as, for example at level 21:
#define __ANDROID_API__ 21 So it is possible to get the sdk version from here, and maybe forget about the release version. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26855> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com