This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xdegaye
Recipients Alex.Willmer, xdegaye
Date 2016-04-26.13:33:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1461677599.23.0.153884294057.issue26857@psf.upfronthosting.co.za>
In-reply-to
Content
HAVE_GETHOSTBYNAME_R is defined on android API 21, but importing the _socket module fails with:

    ImportError: dlopen failed: cannot locate symbol "gethostbyaddr_r" referenced by "_socket.cpython-36m-i386-linux-gnu.so"

Patch attached.
The patch does not take into account the fact that this may be fixed in future versions of android.
History
Date User Action Args
2016-04-26 13:33:19xdegayesetrecipients: + xdegaye, Alex.Willmer
2016-04-26 13:33:19xdegayesetmessageid: <1461677599.23.0.153884294057.issue26857@psf.upfronthosting.co.za>
2016-04-26 13:33:19xdegayelinkissue26857 messages
2016-04-26 13:33:19xdegayecreate