[Patches] [ python-Patches-1545262 ] new splicetee module

SourceForge.net noreply at sourceforge.net
Fri Aug 25 12:31:23 CEST 2006

Patches item #1545262, was opened at 2006-08-23 13:01
Message generated for change (Settings changed) made by gbrandl
You can respond by visiting: 

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Modules
Group: None
>Status: Closed
>Resolution: Rejected
Priority: 5
Submitted By: Omar AitMous (oaitmous)
Assigned to: Nobody/Anonymous (nobody)
Summary: new splicetee module

Initial Comment:
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 :

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.


Comment By: Martin v. Löwis (loewis)
Date: 2006-08-25 00:57

Logged In: YES 

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.


You can respond by visiting: 

More information about the Patches mailing list