Xavier de Gaye added the comment:

An improvement to Python startup time on Android (Android does not have 
nl_langinfo()) is to have _bootlocale.getpreferredencoding() return 'ascii' 
without importing locale, when none of the locale environment variables is set. 
With patch no-locale-envvar.patch, test_site runs ok on android-21-x86 emulator 
when the locale environment variables are not set.

Committing this patch while leaving the current issue open would also allow 
removing this issue from the dependencies of the Android meta-issue #26865.

----------
Added file: http://bugs.python.org/file42929/no-locale-envvar.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26928>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to