Ned Deily added the comment:

Original title: "test_socket fails under -Werror"

These are long-time, normally non-fatal warnings when running test_socket on OS 
X with Python 3 independent of -Werror, introduced with the socket sendmsg() 
and recvmsg() feature in the changes for Issue6560 and a followup in 
Issue12958.  I guess we haven't followed up on them since.  I note that there 
is now an open issue (Issue20669) about a set of test_socket failures under 
OpenBSD including this case.  So perhaps this test behavior also has its 
origins in differences between BSD vs others, further complicated by subsequent 
divergence of the OS X network layer from its BSD origins.

Interestingly, because the warning does not normally cause a test failure (that 
is, without the Python -Werror option as used in this issue), the warning 
messages do not show up in the OS X buildbot logs at all because the buildbot 
test runs use the -m test (test.regrtest) -W option (not to be confused with 
the Python -W option).  Without -m test -W, the warnings do appear but, without 
Python -Werror, cause no failures.

----------
nosy: +ned.deily
title: test_socket fails under -Werror -> test_socket testCmsgTruncLen0 gets 
"received malformed or improperly-truncated ancillary data" warning under OS X
versions: +Python 3.4

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23828>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to