[issue10882] Add os.sendfile()

Ross Lagerwall report at bugs.python.org
Sun Feb 6 05:31:45 CET 2011


Ross Lagerwall <rosslagerwall at gmail.com> added the comment:

For trailers to work, I think the line:
  self.assertEqual(data, "abcde12345")
should be:
  self.assertEqual(data, b"abcde12345")

Also not that tests like this:
  if not sys.platform.startswith('linux'):

perhaps should also include solaris since it doesn't support headers/trailers either.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10882>
_______________________________________


More information about the Python-bugs-list mailing list