[WIP] bpo-32654: Fixes for Android API 19 by vstinner · Pull Request #5305 · python/cpython

@vstinner

* Declare mmap() prototype on API < 21
* Avoid setlocale(LC_ALL, NULL) in Py_Main() on API < 20
* pystrtod.c: avoid localeconv() on API < 21
* _Py_GetLocaleconvNumeric(): avoid localeconv() on API < 20, use
  hardcoded values.

@vstinner vstinner changed the title bpo-32654: Fixes for Android API 19 [WIP] bpo-32654: Fixes for Android API 19

Jan 24, 2018
* _Py_GetLocaleconvNumeric(): use an empty string for thousands_sep
  and grouping
* Fix pystrtod.c: really don't call localeconv() on old Android

@vstinner

@vstinner

@vstinner

@vstinner

@vstinner

@vstinner

yan12125

@vstinner

@vstinner