[pypy-issue] [issue1050] socket attribute MSG_WAITALL under win32

Amaury Forgeot d Arc tracker at bugs.pypy.org
Fri Mar 23 16:37:39 CET 2012

Amaury Forgeot d Arc <amauryfa at gmail.com> added the comment:

This test is wrong: hasattr(socket, "MSG_WAITALL") is a condition on the compiler/SDK used to compile Python; instead it should test 
whether the socket transport supports this option.
On Windows, platform.win32_ver() could be used; alternatively, allow the operation to fail and fall back to the other behavior.

(btw, CPython3.3 is likely to be compiled with VS2010 as well)

status: resolved -> chatting

PyPy bug tracker <tracker at bugs.pypy.org>

More information about the pypy-issue mailing list