Xavier de Gaye added the comment: > I've moved the include into pyport.h
and also fixed the error in my patch, thanks :) With issue26857.diff, importing the socket module does not fail both with an API 21 emulator and an API 23 emulator. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26857> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com