Re: [Python-Dev] PEP 433: Add cloexec argument to functions creating file descriptors

2013-01-12 Thread Victor Stinner
> PEP: 433 > Title: Add cloexec argument to functions creating file descriptors > Status: Draft The PEP is still a draft. I'm sending it to python-dev to get a first review. The main question is the choice between the 3 different options: * don't set close-on-exec flag by default * always set

[Python-Dev] PEP 433: Add cloexec argument to functions creating file descriptors

2013-01-12 Thread Victor Stinner
HTML version: http://www.python.org/dev/peps/pep-0433/ *** PEP: 433 Title: Add cloexec argument to functions creating file descriptors Version: $Revision$ Last-Modified: $Date$ Author: Victor Stinner Status: Draft Type: Standards Track Content-Type: text/x-rst Created: 10-January-2013 Python-Ver

Re: [Python-Dev] fork or exec?

2013-01-12 Thread Victor Stinner
2013/1/11 Ben Leslie : > Python is not UNIX, but I think if you are directly using the POSIX > interfaces they should > work (more or less) the same way the would if you were writing a C program. > (Some of us > still use Python to prototype things that will later be converted to C!). I completed

Re: [Python-Dev] [Python-ideas] PEP 3156 - Asynchronous IO Support Rebooted

2013-01-12 Thread Dustin J. Mitchell
On Wed, Jan 9, 2013 at 12:14 AM, Guido van Rossum wrote: > But which half? A socket is two independent streams, one in each > direction. Twisted uses half_close() for this concept but unless you > already know what this is for you are left wondering which half. Which > is why I like using 'write'

Re: [Python-Dev] cpython (merge 3.3 -> default): Issue #15539: Fix a number of bugs in Tools/scripts/pindent.py.

2013-01-12 Thread Brett Cannon
On Sat, Jan 12, 2013 at 7:07 AM, Serhiy Storchaka wrote: > On 11.01.13 19:08, Brett Cannon wrote: >> >> This seems to have caused the Windows buildbots to fail. > > > Yes, Ezio had already told me. I wrote too strong tests which caught yet one > bug on Windows. Now it is fixed and all bots happy (

Re: [Python-Dev] [Python-checkins] cpython: Issue #15031: Refactor some code in importlib pertaining to validating

2013-01-12 Thread Brett Cannon
On Fri, Jan 11, 2013 at 9:55 PM, Nick Coghlan wrote: > Nice improvement. Just a couple of minor cleanup suggestions. > > On Sat, Jan 12, 2013 at 9:09 AM, brett.cannon > wrote: >> +else: >> +# To prevent having to make all messages have a conditional name. >> +name = 'bytecode'

Re: [Python-Dev] [Python-checkins] Daily reference leaks (aef7db0d3893): sum=287

2013-01-12 Thread Eli Bendersky
On Fri, Jan 11, 2013 at 8:08 AM, Christian Heimes wrote: > Am 11.01.2013 07:09, schrieb Nick Coghlan: > > On Fri, Jan 11, 2013 at 2:57 PM, wrote: > >> results for aef7db0d3893 on branch "default" > >> > >> > >> test_dbm leaked [2, 0, 0] references, su

Re: [Python-Dev] cpython (merge 3.3 -> default): Issue #15539: Fix a number of bugs in Tools/scripts/pindent.py.

2013-01-12 Thread Serhiy Storchaka
On 11.01.13 19:08, Brett Cannon wrote: This seems to have caused the Windows buildbots to fail. Yes, Ezio had already told me. I wrote too strong tests which caught yet one bug on Windows. Now it is fixed and all bots happy (except one). Is there a possibility to subscribe to email notificat