> On 1 August 2014 02:54, Glenn Linderman <v+pyt...@g.nevcal.com> wrote: > > Alternatively, if having sys.platform be "linux" makes portability > easier because code that does a platform check generally gets the > right answer if Android reports as "linux", then why not make > sys.linux_distribution report "android"? > > To put it briefly, either android is the platform, or android is a > specific distribution of the linux platform. > > Paul
That might maybe work better. I was assuming a userland perspective because I’ve been honestly mostly wrestling with Bionic, Android’s libc, but putting that into perspective to consider Android as a whole (after all, the SDK and NDK are what make Android for a lot of developers) might be a valid other approach as well. Kinds regards, Shiz
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com