[New-bugs-announce] [issue26858] setting SO_REUSEPORT fails on android

Xavier de Gaye report at bugs.python.org
Tue Apr 26 09:37:22 EDT 2016

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.  The patch does not take into account the fact that this may be fixed in future versions of android.

components: Cross-Build
files: test.asyncio.patch
keywords: patch
messages: 264281
nosy: Alex.Willmer, xdegaye
priority: normal
severity: normal
status: open
title: setting SO_REUSEPORT fails on android
type: behavior
versions: Python 3.6
Added file: http://bugs.python.org/file42610/test.asyncio.patch

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list