[issue41843] Reenable sendfile in shutil.copyfile() on Solaris

Jakub Kulik report at bugs.python.org
Wed Sep 23 09:24:12 EDT 2020


New submission from Jakub Kulik <kulikjak at gmail.com>:

The use of sendfile() in shutil.copyfile() on Solaris was previously disabled in #36610 due to slightly different behavior. This difference was recently accounted for in #41687, and I observed no other unexpected problems/differences with sendfile.

Can we get this reenabled? I can prepare PR, however, I am not sure whether #36610 should be reverted (hence enabling sendfile in copyfile on every system where it is available) or whether I should just add Solaris to _USE_CP_SENDFILE condition.

----------
components: Library (Lib)
messages: 377383
nosy: giampaolo.rodola, kulikjak
priority: normal
severity: normal
status: open
title: Reenable sendfile in shutil.copyfile() on Solaris
type: performance
versions: Python 3.10, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41843>
_______________________________________


More information about the Python-bugs-list mailing list