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.

classification
Title: new splicetee module
Type: Stage:
Components: Extension Modules Versions:
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: Nosy List: loewis, oaitmous
Priority: normal Keywords: patch

Created on 2006-08-23 13:01 by oaitmous, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
splicetee.patch oaitmous, 2006-08-23 13:01 patch v1
Messages (2)
msg50978 - (view) Author: Omar AitMous (oaitmous) Date: 2006-08-23 13:01
This module is an interface to the new splice()/tee()
system calls under Linux Kernel 2.6.17 and higher.
Splice allows one to transfer data from a stream to
another within the kernel, without need for user-land
involvement, while tee transfers data from a pipe to
another without consuming the data on the first pipe.
By combining both system calls, it is possible to
actually do zero-copy movement of data from one or many
sources to many destinations.
For more information about splice() and tee() system
call mechanisms :
http://kerneltrap.org/node/6505

We would like to know if this is worth for inclusion in
the standard Python distribution? What should be
modified to make it more "compliant" to the python
rules? This file will probably need to be updated to
conform to python style standards.
msg50979 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2006-08-25 00:57
Logged In: YES 
user_id=21627

See my comments to 1545275, packaging it up as a separate package on the 
Cheeseshop should be the first step.

In the specific case, I think this should be added to posixmodule.c if it is 
added at all. I don't think the system call should be done directly, but instead, 
a C library interface should be used once available. Then, in turn, configure 
should detect presence of the API.

Notice the documentation has bogus fragments of C.
History
Date User Action Args
2022-04-11 14:56:19adminsetgithub: 43878
2006-08-23 13:01:54oaitmouscreate