[issue32637] Android: set sys.platform and os.name to android

STINNER Victor report at bugs.python.org
Tue Jan 23 12:16:49 EST 2018


New submission from STINNER Victor <victor.stinner at gmail.com>:

Currently, sys.platform and os.name are equal to 'linux' on Android. While Android uses the Linux kernel, the operating system is not a regular Linux. The libc (bionic) is very different than the regular glibc, the filesystem is organized very differently, etc.

I propose to change sys.platform and os.name to 'android' when running on Android.

----------
components: Library (Lib)
messages: 310511
nosy: vstinner, xdegaye
priority: normal
severity: normal
status: open
title: Android: set sys.platform and os.name to android
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32637>
_______________________________________


More information about the Python-bugs-list mailing list