Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #53888

Re: [python-committers] [RELEASED] Python 3.4.0a2

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <victor.stinner@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:: [': 0.04; 'subject:Python': 0.06; 'explicit': 0.07; 'inherited': 0.09; 'newly': 0.09; 'oh,': 0.09; 'pep': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'bug': 0.12; 'changes': 0.15; '"in': 0.16; 'antoine': 0.16; 'cc:name:python list': 0.16; 'descriptors': 0.16; 'fixes.': 0.16; 'fork': 0.16; 'inheritance': 0.16; 'module).': 0.16; 'shorthand': 0.16; 'sockets': 0.16; 'subject:] [': 0.16; 'subject:python': 0.16; ':-)': 0.16; 'subject:] ': 0.20; 'cc:addr:python.org': 0.22; 'creating': 0.23; 'url:dev': 0.24; 'mon,': 0.24; 'header:In-Reply-To:1': 0.27; 'unix': 0.29; 'cc:2**2': 0.30; 'message-id:@mail.gmail.com': 0.30; '3.x': 0.31; 'larry': 0.31; 'sep': 0.31; 'file': 0.32; 'url:python': 0.33; '(i.e.': 0.33; 'sense': 0.34; 'created': 0.35; 'definition': 0.35; 'hundreds': 0.35; 'received:google.com': 0.35; '+0200,': 0.36; 'module.': 0.36; 'url:org': 0.36; 'changing': 0.37; 'example,': 0.37; 'url:library': 0.38; 'files': 0.38; 'major': 0.40; 'release': 0.40; 'read': 0.60; 'hope': 0.61; 'impact': 0.61; 'include:': 0.61; 'new': 0.61; 'range': 0.61; 'skip:n 10': 0.64; 'series': 0.66; 'improvements': 0.68; 'default': 0.69; '3.4': 0.84; 'victor': 0.84; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=RdWnp+EN9019+zaQRe3B+DEeuTZ4ym7l5wneBa4bYN4=; b=hOX+gESIx4Wlm9u696Q2UrJeR0p+29u7+UkTPWYIlGDZrNB7iQPc1kbvkMXZyGP4Fn YRBeSe0PiGO151p5x7jPuCEXlgB5eohh/f965t0ShYnEm+wsbaumMvz8VaZnPHbvcTTD jfHlZwXjEjXmpLuknpsWlfQ0bhJ1yC+LXncsjxLDZffblH9NBnS7kgFZ3LDId0TuplLI RLtfjA9BwzZgkLjjGlbmU6xY1Fk7WUiA03epzZzEJLdyWwYlIJJbQUiDu+3KPa3iauij tHm1uw7fP+fokYFAlEQ8XaoILTGkrQBMv8tJSiGgMJt92zkf0EFPrqzRfYfFRQFjz8B2 Oy2A==
X-Received by 10.182.16.201 with SMTP id i9mr2543504obd.21.1378756326342; Mon, 09 Sep 2013 12:52:06 -0700 (PDT)
MIME-Version 1.0
In-Reply-To <20130909144551.76b84640@pitrou.net>
References <522DB8D3.1030803@hastings.org> <CAMpsgwZ3Ltsc4dKRnN5zBVvcSF4WFX4YQRcG9oaq_iMvx0NjvQ@mail.gmail.com> <20130909144551.76b84640@pitrou.net>
From Victor Stinner <victor.stinner@gmail.com>
Date Mon, 9 Sep 2013 21:51:46 +0200
Subject Re: [python-committers] [RELEASED] Python 3.4.0a2
To Antoine Pitrou <solipsis@pitrou.net>
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
Cc Python List <python-list@python.org>, python-committers <python-committers@python.org>, Python Dev <python-dev@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.192.1378756335.5461.python-list@python.org> (permalink)
Lines 29
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1378756335 news.xs4all.nl 15886 [2001:888:2000:d::a6]:48878
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:53888

Show key headers only | View raw


2013/9/9 Antoine Pitrou <solipsis@pitrou.net>:
> Le Mon, 9 Sep 2013 14:30:50 +0200,
> Victor Stinner <victor.stinner@gmail.com> a écrit :
>> 2013/9/9 Larry Hastings <larry@hastings.org>:
>> > Python 3.4 includes a range of improvements of the 3.x series,
>> > including hundreds of small improvements and bug fixes.  Major new
>> > features and changes in the 3.4 release series so far include:
>> >
>> > * PEP 446, changing file descriptors to not be inherited by default
>> >            in subprocesses
>>
>> The title of the PEP is "Make newly created file descriptors
>> non-inheritable". It has an impact on all functions creating files and
>> sockets not only the subprocess module.
>
> I don't think Larry's description is wrong. "Non-inheritable" is a
> shorthand for "non-inheritable in subprocesses" with "subprocesses"
> taken in the general sense (i.e. not only created with the subprocess
> module).

Oh, I misunderstood "in subprocesses", I read "in the subprocess module".

The definition of FD inheritance is tricky. For example, on UNIX
"non-inheritable" file descriptors are still inherited at fork :-)

I hope that the documentation is explicit enough:
http://docs.python.org/dev/library/os.html#inheritance-of-file-descriptors

Victor

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: [python-committers] [RELEASED] Python 3.4.0a2 Victor Stinner <victor.stinner@gmail.com> - 2013-09-09 21:51 +0200

csiph-web