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 vstinner
Recipients vstinner, xdegaye, yan12125
Date 2016-11-19.23:59:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAMpsgwai26L+Pe2vifzCKhStRMOcshN4u8i7uAjcyL2=cawytQ@mail.gmail.com>
In-reply-to <CAMpsgwbihzPH_D79xynYbXcLPqdamkKGgaB5TyLpuBsgnFSg+A@mail.gmail.com>
Content
> I think we must use the reliable build time Android API level and
implement sys.getandroidapilevel() (Victor patch) for knowing, in the
standard library, whether we are running on an Android platform, and
provide a best effort platform.android_ver() for the Android run time
version. Things are changing very fast with the Android project and the OEM
may add their own changes too.

Hum, IMO we should at least use a structure with names for the sys function
to be able to return more information later.

Maybe call the function sys.getandroidversion()?
History
Date User Action Args
2016-11-19 23:59:51vstinnersetrecipients: + vstinner, xdegaye, yan12125
2016-11-19 23:59:51vstinnerlinkissue28740 messages
2016-11-19 23:59:51vstinnercreate