[issue26858] setting SO_REUSEPORT fails at API 21

2017-12-10 Thread Xavier de Gaye
Xavier de Gaye added the comment: This is issue 26855. -- ___ Python tracker ___ ___

[issue26858] setting SO_REUSEPORT fails at API 21

2017-12-10 Thread STINNER Victor
STINNER Victor added the comment: Do we have a function in Python to get the running Android version? -- ___ Python tracker

[issue26858] setting SO_REUSEPORT fails at API 21

2017-12-10 Thread Xavier de Gaye
Xavier de Gaye added the comment: This problem does not occur at API 24. -- title: setting SO_REUSEPORT fails -> setting SO_REUSEPORT fails at API 21 ___ Python tracker

[issue26858] setting SO_REUSEPORT fails

2017-10-21 Thread Guido van Rossum
Guido van Rossum added the comment: I assume he means that a similar piece of code should be inserted elsewhere. I am still waiting for Philip's PR though. -- ___ Python tracker

[issue26858] setting SO_REUSEPORT fails

2017-10-21 Thread Xavier de Gaye
Xavier de Gaye added the comment: Philip, 9791c5d55f52 was commited in november 2013 and issue19901 was closed in december 2013, so how can they be an appropriate solution for a problem reported on 2017-01-13 in msg285392 ? --

[issue26858] setting SO_REUSEPORT fails

2017-09-16 Thread Guido van Rossum
Guido van Rossum added the comment: Can't you just submit a PR? It's so easy now! -- ___ Python tracker ___

[issue26858] setting SO_REUSEPORT fails

2017-09-16 Thread Philip Jenvey
Philip Jenvey added the comment: Note that this isn't an android specific issue: See issue19901, and 9791c5d55f52 for an appropriate solution patch. (Renaming title) -- nosy: +pjenvey title: android: setting SO_REUSEPORT fails -> setting SO_REUSEPORT fails

[issue26858] setting SO_REUSEPORT fails on android

2016-05-03 Thread Xavier de Gaye
Xavier de Gaye added the comment: Running the "Search" button on the tracker with "Components" set as "Cross-Build" lists 42 issues (20 in the last year). I guess using this existing category is fine if the titles' issues are prefixed with "android:". --

[issue26858] setting SO_REUSEPORT fails on android

2016-05-02 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: -pitrou ___ Python tracker ___ ___ Python-bugs-list

[issue26858] setting SO_REUSEPORT fails on android

2016-05-02 Thread Guido van Rossum
Guido van Rossum added the comment: If there are a lot of Android issue maybe you could get a tracker manager to add a new keyword or category or whatever? -- ___ Python tracker

[issue26858] setting SO_REUSEPORT fails on android

2016-05-02 Thread Xavier de Gaye
Xavier de Gaye added the comment: Stefan has already commited and closed some of the issues listed at issue #26865. Martin has closed issue #22359, a blocker for the cross-compilation of python. I will enter an issue for all the failures listed at

[issue26858] setting SO_REUSEPORT fails on android

2016-05-02 Thread Guido van Rossum
Guido van Rossum added the comment: OK, I'll wait until Android support is closer. Do you have a core dev who's mentoring/reviewing here? -- ___ Python tracker

[issue26858] setting SO_REUSEPORT fails on android

2016-05-02 Thread Xavier de Gaye
Xavier de Gaye added the comment: The patch was not intended to be proposed as a way to fix this problem, but as an indication of what the problem is. This issue is a dependency of issue #26865: Meta-issue: support of the android platform. I should have posted instead the result of running

[issue26858] setting SO_REUSEPORT fails on android

2016-05-01 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: > Where is the patch that adds android_ver()? http://bugs.python.org/issue26855 Xavier de Gaye's implementation is buggy while works for most cases. -- nosy: +Chi Hsuan Yen ___ Python tracker

[issue26858] setting SO_REUSEPORT fails on android

2016-05-01 Thread Guido van Rossum
Guido van Rossum added the comment: Where is the patch that adds android_ver()? At the very least that should be listed as a dependency here. I don't very much like to have changes to asyncio that can only work in Python 3.6; there's still an upstream version

[issue26858] setting SO_REUSEPORT fails on android

2016-05-01 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- nosy: +giampaolo.rodola, gvanrossum, haypo, pitrou, yselivanov ___ Python tracker ___

[issue26858] setting SO_REUSEPORT fails on android

2016-04-26 Thread Roman Evstifeev
Changes by Roman Evstifeev : -- nosy: +Roman.Evstifeev ___ Python tracker ___ ___

[issue26858] setting SO_REUSEPORT fails on android

2016-04-26 Thread Xavier de Gaye
New submission from Xavier de Gaye: Android defines SO_REUSEPORT on android API 21 but setting this option in the asyncio tests raises OSError: [Errno 92] Protocol not available. The attached patch assumes there is a platform.android_ver() function to detect that this is the android platform.