socket.MSG_WAITALL flag broken on Windows XP in Python 2.5.4?

Tim Roberts timr at
Wed Sep 16 07:52:55 CEST 2009

Wes McKinney <wesmckinn at> wrote:
>I noticed the flag socket.MSG_WAITALL seems to have crept its way into
>Python 2.5 on Windows (it's in 2.5.4, but not in 2.5.1, not sure about
>intermediate releases). I do not think Windows supports it. It seems
>to cause some problems in some libraries (like Pyro) that use it if
>it's available in the socket module.
>Does anyone know more about this?

MSG_WAITALL is supported, starting with Windows Server 2003.

It's a tough situation.  Ideally, you'd want socket to remove that symbol
on the systems where it's not supported, but that's asking a lot.
Tim Roberts, timr at
Providenza & Boekelheide, Inc.

More information about the Python-list mailing list