On 03/02/2015 05:14 PM, Russell Keith-Magee wrote: > And even if I'm wrong, and Android==Linux2 *is* a reasonable assumption - > there are still some cases where it's > necessary to differentiate between desktop Linux and Android, so some sort of > "am I on Android?" check is going to be > needed. > > My argument is that given that this check is going to be needed, why invent > something new? Why not just use > "sys.platform == 'android'", and accept that third party developers using > sys.platform will need to make a small change > to support this new platform, once they've established that their code will > actually run on Android - or make whatever > changes are necessary to support the differences that exist.
I am strongly leaning towards having sys.platform == 'android' (and whatever is appropriate for the iDevices) . -- ~Ethan~
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mobile-sig mailing list [email protected] https://mail.python.org/mailman/listinfo/mobile-sig
