[issue27442] expose the Android API level in sysconfig.get_config_vars()

STINNER Victor report at bugs.python.org
Wed Jul 6 15:19:37 EDT 2016


STINNER Victor added the comment:

+    @unittest.skipIf(sysconfig.get_config_var('ANDROID_API_LEVEL') == 0,
+                         "not an android platform")

Hum, sysconfig.get_config_var() returns None for unknown variable. Why checking ==0?

@Xavier: Are you generating the patch using "hg diff"? I don't see the base revision in your patch, and so there is no [Review] link on your patch.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27442>
_______________________________________


More information about the Python-bugs-list mailing list