[issue28740] Add sys.getandroidapilevel()
Xavier de Gaye
report at bugs.python.org
Mon Nov 21 11:18:27 EST 2016
Xavier de Gaye added the comment:
I agree with Marc-Andre, Windows has sys.getwindowsversion() returning system information for the Windows version, and a platform.win32_ver() returning additional version information from the Registry obtained at run time. So it is consistent to add the sys.getandroidapilevel() function returning the version based on the ANDROID_API_LEVEL macro (a build, system level data, that specifies the libc version Python has been built against) and to add the platform.android_ver() version returning the device/emulator run time version obtained from the local properties system.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28740>
_______________________________________
More information about the Python-bugs-list
mailing list