Ross Lagerwall <rosslagerw...@gmail.com> added the comment: With no changes, I get: ====================================================================== FAIL: test_trailers (test.test_os.TestSendfile) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/home/ross/py3k_sftest/Lib/test/test_os.py", line 1531, in test_trailers self.assertEqual(data, "abcde12345") AssertionError: b'abcde12345' != 'abcde12345'
After changing, the tests work perfectly. Perhaps its the FreeBSD version? Here's the output from uname: FreeBSD fbds 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010 r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 Maybe its a bug on that platform, you could try building a sendfile program in C with trailer data. Or try a simple test in the interpreter like the one in msg127326 but with added trailer data. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10882> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com