[Python-Dev] cpython: os.sendfile(): on Linux if offset parameter is passed as NULL we were

Antoine Pitrou solipsis at pitrou.net
Tue Apr 19 13:35:48 CEST 2011


On Tue, 19 Apr 2011 09:47:21 +0200
giampaolo.rodola <python-checkins at python.org> wrote:

> http://hg.python.org/cpython/rev/8c49f7fbba1d
> changeset:   69437:8c49f7fbba1d
> user:        Giampaolo Rodola' <g.rodola at gmail.com>
> date:        Tue Apr 19 09:47:16 2011 +0200
> summary:
>   os.sendfile(): on Linux if offset parameter is passed as NULL we were erroneously returning a (bytes_sent, None) tuple instead of bytes_sent

Do we have tests for this?

Regards

Antoine.




More information about the Python-Dev mailing list