Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Support for os.sendfile for Windows #102898

Open
@KhazAkar

Description

@KhazAkar

Feature or enhancement

Currently, only POSIX operating systems have support for sendfile in python, but not Windows (or at least not on the same level, more about that later). There's a catch - windows also have support for this kind of functionality, called TransmitFile:
https://learn.microsoft.com/en-us/windows/win32/api/mswsock/nf-mswsock-transmitfile

Pitch

Having this feature outside of asyncio (here it currently resides when using sock_sendfile, as link in "previous discussion" states) would help in closing the gap between what's supported on Windows and on POSIX OSes like macOS or Linux.
Basic support for things like overlapped I/O (Windows acronym for asynchronous I/O) currently exists in lower level modules, like undocumented _overlapped module. Having this exposed in more user-friendly manner would give python better feature parity between various Tier-1 operating systems.

Previous discussion

https://discuss.python.org/t/support-for-os-sendfile-for-windows/25020

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp