[issue26858] android: setting SO_REUSEPORT fails

2017-01-13 Thread STINNER Victor
STINNER Victor added the comment: > The reason why the changes made by issue 28174 fix only partly the problem > should be understood. The change c1c247cf3488 catchs OSError on sock.setsockopt() in asyncio/base_events.py, whereas the test fails while calling sock.getsockopt() in

[issue26858] android: setting SO_REUSEPORT fails

2017-01-13 Thread Xavier de Gaye
Xavier de Gaye added the comment: Skipping those tests on Android has already been proposed with the existing patches in this issue. The reason why the changes made by issue 28174 fix only partly the problem should be understood. -- ___ Python

[issue26858] android: setting SO_REUSEPORT fails

2017-01-13 Thread STINNER Victor
STINNER Victor added the comment: IMHO it's ok to skip a few asyncio tests on Android. It's safe if it doesn't touch the code of asyncio itself. It don't really care if the Android version is not checked yet. Moreover, if we really want to check the version, we should check the *runtime*

[issue26858] android: setting SO_REUSEPORT fails

2017-01-13 Thread Xavier de Gaye
Xavier de Gaye added the comment: The changes made in issue #28174 fix the problem for the Android x86 platform and for the armv7 platform at Android API level 24, but the problem is still there on the armv7 platform at Android API level 21.

[issue26858] android: setting SO_REUSEPORT fails

2016-09-15 Thread Yury Selivanov
Yury Selivanov added the comment: This issue was fixed in #28174. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue26858] android: setting SO_REUSEPORT fails

2016-05-22 Thread Xavier de Gaye
Xavier de Gaye added the comment: New patch test.asyncio_2.patch uses test.support.is_android and adds a dependency to issue #27027. -- dependencies: +add is_android in test.support to detect Android platform Added file: http://bugs.python.org/file42940/test.asyncio_2.patch

[issue26858] android: setting SO_REUSEPORT fails

2016-05-20 Thread Xavier de Gaye
Xavier de Gaye added the comment: Should use boolean 'is_android' being added to module test.support by issue #27027, instead of platform.android_ver()[0]. -- ___ Python tracker

[issue26858] android: setting SO_REUSEPORT fails

2016-05-03 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- title: setting SO_REUSEPORT fails on android -> android: setting SO_REUSEPORT fails ___ Python tracker