Tinche / aiofiles

File support for asyncio
Apache License 2.0
2.83k stars 152 forks source link

Changed the sendfile test to be more accepting #18

Closed jkbbwr closed 7 years ago

jkbbwr commented 7 years ago

Make sendfile more lenient for posix systems that don't have sendfile in the os module. This should still achieve the same as the original line on platforms such as windows because windows will not have sendfile as an attribute of os.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-1.7%) to 84.884% when pulling 3caeea8920a65d57825e8c85393b12d412c48a20 on jkbbwr:sane-sendfile-check into eb2d81c69ccbe4ef361e6435a8a1cb2371fd3060 on Tinche:master.

Tinche commented 7 years ago

Looks good to me. Thanks!

jkbbwr commented 7 years ago

Any idea on when this ends up in a release on pypi?

Tinche commented 7 years ago

Early next week :)

Tinche commented 7 years ago

0.3.1 is up containing your fix. :)

jkbbwr commented 7 years ago

Wicked!