[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>
<https://bugs.pypy.org/issue1050>
________________________________________
More information about the pypy-issue
mailing list