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, berker.peksag, bquinlan, python-dev, xdegaye
Date 2016-05-08.11:16:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1462706180.77.0.870715089915.issue26924@psf.upfronthosting.co.za>
In-reply-to
Content
Undefining the SEM_* macros in multiprocessing.h when __ANDROID__ is set, would allow for an easier update when those functions become implemented at a future API level. The __ANDROID_API__ macro can be used for that purpose. For example, if this happens at API 24, this could be a changed to:

#if defined(__ANDROID__)
# include <android/api-level.h>
# if __ANDROID_API__ < 24
#  undef sem_open
#  ...
# endif
#endif
History
Date User Action Args
2016-05-08 11:16:20xdegayesetrecipients: + xdegaye, bquinlan, python-dev, berker.peksag, Alex.Willmer
2016-05-08 11:16:20xdegayesetmessageid: <1462706180.77.0.870715089915.issue26924@psf.upfronthosting.co.za>
2016-05-08 11:16:20xdegayelinkissue26924 messages
2016-05-08 11:16:20xdegayecreate