[Python-Dev] support of the android platform

Xavier de Gaye xdegaye at gmail.com
Mon Apr 25 04:11:38 EDT 2016


On 04/24/2016 11:50 AM, Stefan Krah wrote:
 > Xavier de Gaye <xdegaye <at> gmail.com> writes:
 >> Starting with API level 21 (Android 5.0), the build of python3 with the
 >> official android toolchains (that is, without resorting to external libraries
 >> for wide character support) runs correctly.  With the set of patches described
 >> in the patches/Makefile file at [1], the cpython test suite runs[2] on the
 >> android x86 and armv7 emulators with only few errors[3].  Those errors are
 >> listed with their corresponding error messages, this may give a raw idea of
 >> the effort needed to support this platform.
 >>
 >> Xavier
 >>
 >> [1] https://bitbucket.org/xdegaye/pyona/src
 >> [2] To reproduce these results, follow the instructions found in INSTALL
 >>       at https://bitbucket.org/xdegaye/pyona/wiki/install
 >> [3] https://bitbucket.org/xdegaye/pyona/wiki/testsuite
 >
 >
 > This looks great, very clean!  As I understand the patches, the locale.h and
 > langinfo.h problems are solved.  Do you think the following issues on the
 > Python bug tracker could be closed?
 >
 >
 > http://bugs.python.org/issue20305
 > http://bugs.python.org/issue22747
 > http://bugs.python.org/issue17905


Thanks.
A fix is still needed because Android does not HAVE_LANGINFO_H.
I have tried to answer your question directly in those issues.

Xavier


More information about the Python-Dev mailing list