Re: [Python-Dev] devguide: Add an intermediate task of helping triage issues (not to be confused with the

2011-01-09 Thread Georg Brandl
Am 08.01.2011 23:22, schrieb Antoine Pitrou: On Sat, 08 Jan 2011 23:05:06 +0100 brett.cannon python-check...@python.org wrote: +For bugs, an issue needs to: + +* Clearly explain the bug so it can be reproduced +* All relevant platform details are included +* What version(s) of Python are

[Python-Dev] RELEASED python-mode.el 5.2.0

2011-01-09 Thread Barry Warsaw
On behalf of the python-mode developers I'm happy to announce the release of python-mode.el 5.2.0. A summary of the changes since 5.1.0 is included below. python-mode.el is a major mode for editing Python code in Emacs and XEmacs. This version has been supported and developed by core Python

Re: [Python-Dev] Summary of Python tracker Issues

2011-01-09 Thread Michael Foord
On 07/01/2011 17:07, Python tracker wrote: ACTIVITY SUMMARY (2010-12-31 - 2011-01-07) Python tracker at http://bugs.python.org/ To view or respond to any of the issues listed below, click on the issue. Do NOT respond to this message. Issues counts and deltas: open2501 (-24) closed

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

2011-01-09 Thread max ulidtko
On Wed, 20 Mar 2002 14:53:58 -0500, Andrew Kuchling wrote: | sendfile() is used when writing really high-performance Web servers, | in order to save an unnecessary memory-to-memory copy. Question: | should I make up a patch to add a sendfile() wrapper to Python? So, was this proposal rejected?

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

2011-01-09 Thread Antoine Pitrou
On Sat, 08 Jan 2011 09:55:19 +0200 max ulidtko ulid...@gmail.com wrote: On Wed, 20 Mar 2002 14:53:58 -0500, Andrew Kuchling wrote: | sendfile() is used when writing really high-performance Web servers, | in order to save an unnecessary memory-to-memory copy. Question: | should I make up a

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

2011-01-09 Thread Guido van Rossum
Isn't that just shutil.copyfileobj()? On Fri, Jan 7, 2011 at 11:55 PM, max ulidtko ulid...@gmail.com wrote: On Wed, 20 Mar 2002 14:53:58 -0500, Andrew Kuchling wrote: | sendfile() is used when writing really high-performance Web servers, | in order to save an unnecessary memory-to-memory copy.

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

2011-01-09 Thread Giampaolo Rodolà
A strong +1. Projects such as Twisted would certainly benefit from such an addiction. I'm not sure the os module is the right place for sendfile() to land though. Implementation between different platforms tends to vary quite a bit. A good resource is the samba source code which contains an

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

2011-01-09 Thread Antoine Pitrou
On Sun, 9 Jan 2011 11:17:40 -0800 Guido van Rossum gu...@python.org wrote: Isn't that just shutil.copyfileobj()? copyfileobj() still uses an user-space buffer (the Python bytes object used in the loop). The advantage of sendfile() is to bypass user-space logic and do the transfer entirely in

Re: [Python-Dev] API refactoring tracker field for Python4

2011-01-09 Thread Meador Inge
On Fri, Jan 7, 2011 at 11:20 AM, anatoly techtonik techto...@gmail.com wrote: This happened, because of poor bug management, where community doesn't play any role in determining which issues are desired. This mostly because of limitation of our tracker and desire of people to extend it to get

Re: [Python-Dev] API refactoring tracker field for Python4

2011-01-09 Thread Éric Araujo
Le 07/01/2011 19:39, Brian Curtin a écrit : On Fri, Jan 7, 2011 at 12:14, anatoly techtonik techto...@gmail.com wrote: Module split: try to get all issues for 'os' module No solution for this right now, but people have suggested that we add drop-downs for each module. I'm -0 on that. I

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

2011-01-09 Thread Martin v. Löwis
Am 09.01.2011 21:31, schrieb Antoine Pitrou: On Sun, 9 Jan 2011 11:17:40 -0800 Guido van Rossum gu...@python.org wrote: Isn't that just shutil.copyfileobj()? copyfileobj() still uses an user-space buffer (the Python bytes object used in the loop). The advantage of sendfile() is to bypass

Re: [Python-Dev] API refactoring tracker field for Python4

2011-01-09 Thread Martin v. Löwis
Maybe that could be fixed? Then the remaining feature would be a way to sort issue lists by number of nosy people, and to display the length of the nosy list. http://bugs.python.org/iss...@action=search@columns=title,id,nosy_countstatus=1@sort=-nosy_count You can create an URL like this

Re: [Python-Dev] API refactoring tracker field for Python4

2011-01-09 Thread Antoine Pitrou
On Sun, 09 Jan 2011 22:52:47 +0100 Éric Araujo mer...@netwok.org wrote: Le 07/01/2011 19:39, Brian Curtin a écrit : On Fri, Jan 7, 2011 at 12:14, anatoly techtonik techto...@gmail.com wrote: Module split: try to get all issues for 'os' module No solution for this right now, but people

Re: [Python-Dev] devguide: Add an intermediate task of helping triage issues (not to be confused with the

2011-01-09 Thread Brett Cannon
On Sun, Jan 9, 2011 at 00:26, Georg Brandl g.bra...@gmx.net wrote: Am 08.01.2011 23:22, schrieb Antoine Pitrou: On Sat, 08 Jan 2011 23:05:06 +0100 brett.cannon python-check...@python.org wrote: +For bugs, an issue needs to: + +* Clearly explain the bug so it can be reproduced +* All

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

2011-01-09 Thread James Y Knight
If you're gonna wrap sendfile, it might be nice to also wrap the splice, tee, and vmsplice syscalls on linux, since they're a lot more flexible. Also note that sendfile on BSD has a completely different signature to sendfile on linux. The BSD one has the rather odd functionality of a built-in

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

2011-01-09 Thread max ulidtko
On Sun, 9 Jan 2011 11:17:40 -0800, Guido van Rossum wrote: | Isn't that just shutil.copyfileobj()? | This function has two drawbacks. First, it copies until EOF, and has no possibility to copy exactly N bytes from source fd (say, opened socket). This is the reason why I (re)wrote my custom

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

2011-01-09 Thread exarkun
On 9 Jan, 08:09 pm, g.rod...@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

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

2011-01-09 Thread Terry Reedy
On 1/8/2011 2:55 AM, max ulidtko wrote: On Wed, 20 Mar 2002 14:53:58 -0500, Andrew Kuchling wrote: | sendfile() is used when writing really high-performance Web servers, | in order to save an unnecessary memory-to-memory copy. Question: | should I make up a patch to add a sendfile() wrapper to

Re: [Python-Dev] API refactoring tracker field for Python4

2011-01-09 Thread Stephen J. Turnbull
Antoine Pitrou writes: A drop-down [list of modules] would be terribly cumbersome. On the XEmacs tracker, we use a multilink with a checkbox list for the modules field. This allows you to type in the text field, to check multiple boxes, and provides input checking. In my typical usage, I