A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-January/107362.html below:

[Python-Dev] Add sendfile() to core?

[Python-Dev] Add sendfile() to core? [Python-Dev] Add sendfile() to core?exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Mon Jan 10 01:17:24 CET 2011
On 9 Jan, 08:09 pm, g.rodola at gmail.com wrote:
>A strong +1.
>Projects such as Twisted would certainly benefit from such an 
>addiction.

Eh.  There would probably be some benefits, but I don't think they would 
be very large in the majority of cases.  Also, since adding it to 2.x 
would be prohibited, it will be at least several years before Twisted 
actually benefits from its addition to the standard library.

Plus, Pavel Pergamenshchik wrapped sendfile for Twisted already many 
years ago, but no one was interested enough to actually land the change 
in trunk.

However, if it would help, I'm sure Pavel's code can be contributed to 
CPython.  If anyone would like to take a look:

http://twistedmatrix.com/trac/browser/branches/sendfile-585-4/twisted/python/test/test_sendfile.py

http://twistedmatrix.com/trac/browser/branches/sendfile-585-4/twisted/python/_sendfile.c

Jean-Paul
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4