This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eryksun
Recipients eryksun, paul.moore, sfmc, steve.dower, tim.golden, zach.ware
Date 2021-07-07.12:53:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1625662437.87.0.578670660254.issue44579@roundup.psfhosted.org>
In-reply-to
Content
> In Windows there is an fast API to copy file in kernel mode: CopyFile

The possibility of calling CopyFileEx() for shutil.copy2() is discussed in issue 30044. Note that CopyFileEx() is a high-level Windows API function, not a "kernel mode" copy. It opens the source and destination files and makes multiple system calls in order to copy file data and metadata (e.g. system calls such as NtOpenFile, NtCreateFile, NtReadFile, NtWriteFile, NtQueryInformationFile, NtSetInformationFile, NtQueryEaFile, NtSetEaFile, NtQuerySecurityObject, etc). This includes copying the primary data stream, alternate data streams, file attributes, extended file attributes, and security resource attributes.
History
Date User Action Args
2021-07-07 12:53:57eryksunsetrecipients: + eryksun, paul.moore, tim.golden, zach.ware, steve.dower, sfmc
2021-07-07 12:53:57eryksunsetmessageid: <1625662437.87.0.578670660254.issue44579@roundup.psfhosted.org>
2021-07-07 12:53:57eryksunlinkissue44579 messages
2021-07-07 12:53:57eryksuncreate