[issue26928] android: test_site fails

2016-05-05 Thread Xavier de Gaye
Xavier de Gaye added the comment: BTW the test runs fine on android when the AttributeError in _bootlocale is hard-coded with a getpreferredencoding() fuction returning 'UTF-8' and not importing locale. -- ___ Python tracker

[issue26928] android: test_site fails

2016-05-05 Thread Xavier de Gaye
Xavier de Gaye added the comment: The problem is caused by the fact that android does not have HAVE_LANGINFO_H and CODESET set, hence in the _bootlocale module, the statement '_locale.CODESET' raises AttributeError and the locale module is imported upon interpreter startup. The locale module i

[issue26928] android: test_site fails

2016-05-03 Thread Xavier de Gaye
New submission from Xavier de Gaye: One test of test_site fails on an android emulator running an x86 system image at API level 21. See the attached test_output.txt file. -- components: Cross-Build, Library (Lib) files: test_output.txt messages: 264728 nosy: Alex.Willmer, xdegaye prior