STINNER Victor <[email protected]> added the comment:
Nice, AIX can build again Python. But now the 3 tests fail since the test uses
a pipe and a file, whereas on AIX, it seems like splice() requires one end to
be a socket.
I wrote attached PR 23354 to skip the 3 tests on AIX.
======================================================================
ERROR: test_splice (test.test_os.FileTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/buildbot/buildarea/3.x.aixtools-aix-power6/build/Lib/test/test_os.py",
line 406, in test_splice
i = os.splice(in_fd, write_fd, 5)
OSError: [Errno 57] Socket operation on non-socket
======================================================================
ERROR: test_splice_offset_in (test.test_os.FileTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/buildbot/buildarea/3.x.aixtools-aix-power6/build/Lib/test/test_os.py",
line 440, in test_splice_offset_in
i = os.splice(in_fd, write_fd, bytes_to_copy, offset_src=in_skip)
OSError: [Errno 57] Socket operation on non-socket
======================================================================
ERROR: test_splice_offset_out (test.test_os.FileTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/buildbot/buildarea/3.x.aixtools-aix-power6/build/Lib/test/test_os.py",
line 479, in test_splice_offset_out
i = os.splice(read_fd, out_fd, bytes_to_copy, offset_dst=out_seek)
OSError: [Errno 57] Socket operation on non-socket
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue41625>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com