[issue32654] Fixes Python for Android API 19

2018-05-29 Thread STINNER Victor
STINNER Victor added the comment: I'm sorry, but I'm not longer interested to work on supporting Android API 19. I close the bug. If someone wants to continue to work on the Android support, it's probably better to first focus on most recent Android versions. -- resolution: -> wont

[issue32654] Fixes Python for Android API 19

2018-01-28 Thread STINNER Victor
STINNER Victor added the comment: """ >>> locale.setlocale(locale.LC_ALL, None) ... locale.Error: locale query failed """ IMHO the correct fix here is to not define _locale.setlocale() to get the pure Python locale.setlocale() emulation. --

[issue32654] Fixes Python for Android API 19

2018-01-28 Thread Ned Deily
Ned Deily added the comment: Since we won't officially support Android in 3.7, these changes should wait for 3.8 and until there is a PEP for Android support. -- versions: +Python 3.8 -Python 3.7 ___ Python tracker

[issue32654] Fixes Python for Android API 19

2018-01-28 Thread pmpp
pmpp added the comment: @yan12125 Hi, I ran some tests too and here are my findings: https://github.com/pmp-p/droid-pydk/tree/master/sources.32/build_logs * I used some dirty patchset to cover more tests

[issue32654] Fixes Python for Android API 19

2018-01-28 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: Here are some ideas after testing: * Testing environment: - My building scripts at https://github.com/yan12125/python3-android/ - Android NDK r16b - Google's emulator image 'system-images;android-19;default;x86' * Ideas/findings: -

[issue32654] Fixes Python for Android API 19

2018-01-25 Thread STINNER Victor
STINNER Victor added the comment: By the way, I started to take notes on Python on Android, since the topic is wide and complex: http://vstinner.readthedocs.io/python_android.html -- ___ Python tracker

[issue32654] Fixes Python for Android API 19

2018-01-25 Thread STINNER Victor
STINNER Victor added the comment: Another example of platform with best effort support is AIX. Until very recently, ctypes.util.find_library() didn't work on AIX which causes many tests failure. The AIX buildbot is red as far as I can remember. *Many* tests are

[issue32654] Fixes Python for Android API 19

2018-01-25 Thread STINNER Victor
STINNER Victor added the comment: Ned Deily: "I don't think we should be adding this platform-version-specific code unless we are going to fully support that particular platform and version." I know the theory and I know the practice :-) I started to list platforms

[issue32654] Fixes Python for Android API 19

2018-01-25 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: Agree with Ned Deily here. If CPython is going to be support android-19, it's better to fully support it. I'm optimistic here - I believe there won't be many android-19-specific patches beyond locale-related ones. Once android-24 is done,

[issue32654] Fixes Python for Android API 19

2018-01-25 Thread pmpp
pmpp added the comment: Thanks ! I tested your PR it just built out of the box with the help of a one line change to Xavier de Gaye's android build support tool ( configure-android script + Android folder from bpo-30386 ). I'll forward to you the result of testsuite on a

[issue32654] Fixes Python for Android API 19

2018-01-25 Thread Ned Deily
Ned Deily added the comment: I don't think we should be adding this platform-version-specific code unless we are going to fully support that particular platform and version. That means at a minimum adding a buildbot for it and then having a core developer signed up to

[issue32654] Fixes Python for Android API 19

2018-01-25 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: Here's another argument for supporting android < 21: according to Google [1], 12.8% devices on the world run android-19. Furthermore, upgrading Android OS for a device is almost impossible for non-hackers unless the manufacturer provides

[issue32654] Fixes Python for Android API 19

2018-01-25 Thread STINNER Victor
STINNER Victor added the comment: I wrote PR 5305 for Paul Peny who uses cheap devices (less than 50$, maybe less 20$? I'm not sure) for development, but these devices use old Android versions. It seems like some people are exchanging patches, in private or in

[issue32654] Fixes Python for Android API 19

2018-01-25 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +pmpp ___ Python tracker ___ ___

[issue32654] Fixes Python for Android API 19

2018-01-24 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +5152 stage: -> patch review ___ Python tracker ___

[issue32654] Fixes Python for Android API 19

2018-01-24 Thread STINNER Victor
New submission from STINNER Victor : I'm working on a pull request to make https://github.com/pmp-p/droid-pydk/tree/master/sources.32/cpython-bpo-30386.patchset changes upstream. -- messages: 310619 nosy: vstinner priority: normal severity: normal status: