[Python-Dev] Requesting pronouncement on PEP 463: Exception-catching expressions

2014-03-11 Thread Chris Angelico
PEP 463, Exception-catching expressions, is stable and I believe ready for pronouncement. Drumroll please... http://www.python.org/dev/peps/pep-0463/ PEP: 463 Title: Exception-catching expressions Version: $Revision$ Last-Modified: $Date$ Author: Chris Angelico Status: Draft Type: Standards Trac

Re: [Python-Dev] PEP 463: Exception-catching expressions

2014-03-11 Thread Chris Angelico
On Wed, Mar 12, 2014 at 2:20 PM, Ethan Furman wrote: > I sure hope this is accepted. I could have used it at least a half-dozen > times in the last week -- which is more often than I would have used the > ternary-if! :) Where do we go from here? I've not made any edits for some time - no materi

Re: [Python-Dev] PEP 463: Exception-catching expressions

2014-03-11 Thread Ethan Furman
I sure hope this is accepted. I could have used it at least a half-dozen times in the last week -- which is more often than I would have used the ternary-if! :) -- ~Ethan~ ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mail

Re: [Python-Dev] Why not make frames? [was: Alternative forms [was: PEP 463: Exception-catching expressions]]

2014-03-11 Thread Ethan Furman
On 03/09/2014 07:16 PM, Jim J. Jewett wrote: because I cannot imagine reading an embedded version of either of those without having to mentally re-parse at the colon. An example assuming a precedence level that may not be what the PEP proposes: if myfunc(5, expr1 except expr2: expr3, "lab

Re: [Python-Dev] undocumented help() function change in Python 3.4?

2014-03-11 Thread Guido van Rossum
On Tue, Mar 11, 2014 at 2:59 PM, R. David Murray wrote: > On Tue, 11 Mar 2014 19:57:36 +0100, Georg Brandl wrote: > > Am 11.03.2014 15:54, schrieb Guido van Rossum: > > > I'm not sure I agree completely with this lax attitude about the > contents of the > > > docs, and especially the What's New p

Re: [Python-Dev] undocumented help() function change in Python 3.4?

2014-03-11 Thread R. David Murray
On Tue, 11 Mar 2014 19:57:36 +0100, Georg Brandl wrote: > Am 11.03.2014 15:54, schrieb Guido van Rossum: > > I'm not sure I agree completely with this lax attitude about the contents > > of the > > docs, and especially the What's New parts of it (both Misc/NEWS and > > Doc/whatsnew/3.4.rst). > >

Re: [Python-Dev] Whats New in 3.4 is pretty much done...

2014-03-11 Thread Nick Coghlan
On 12 Mar 2014 02:21, "Eric V. Smith" wrote: > > On 3/11/2014 9:05 AM, Victor Stinner wrote: > > 2014-03-11 13:28 GMT+01:00 Nick Coghlan : > >> I was thinking of adding a new "Migrating from Python 2" section at > >> the end of the porting guide, noting the changed recommendations in > >> the migr

Re: [Python-Dev] undocumented help() function change in Python 3.4?

2014-03-11 Thread Georg Brandl
Am 11.03.2014 15:54, schrieb Guido van Rossum: > I'm not sure I agree completely with this lax attitude about the contents of > the > docs, and especially the What's New parts of it (both Misc/NEWS and > Doc/whatsnew/3.4.rst). I don't think anyone here suggested not to update the whatsnew documen

[Python-Dev] Issue 20891 - PyGILState_Ensure on non-Python thread causes fatal error

2014-03-11 Thread Steve Dower
Hi python-dev Just wanted to draw some attention to http://bugs.python.org/issue20891, which I just created. (I hope I got the right people on the nosy list, but going broad just to be safe.) Details and the discussion can go on there, but the basic gist is that C threads can't safely call PyG

Re: [Python-Dev] Whats New in 3.4 is pretty much done...

2014-03-11 Thread Eric V. Smith
On 3/11/2014 9:05 AM, Victor Stinner wrote: > 2014-03-11 13:28 GMT+01:00 Nick Coghlan : >> I was thinking of adding a new "Migrating from Python 2" section at >> the end of the porting guide, noting the changed recommendations in >> the migration guide (i.e. people that read it a while ago should r

Re: [Python-Dev] undocumented help() function change in Python 3.4?

2014-03-11 Thread Guido van Rossum
I'm not sure I agree completely with this lax attitude about the contents of the docs, and especially the What's New parts of it (both Misc/NEWS and Doc/whatsnew/3.4.rst). I find it very useful to have these pinpoint *exactly* what made it into the tarball or zipfile or whatever other form I happen

Re: [Python-Dev] undocumented help() function change in Python 3.4?

2014-03-11 Thread R. David Murray
On Tue, 11 Mar 2014 10:15:21 +0100, Georg Brandl wrote: > Am 11.03.2014 08:00, schrieb Ned Deily: > > In article , > > Georg Brandl wrote: > > > >> Am 11.03.2014 06:31, schrieb Ned Deily: > >> > In article > >> > , > >> > Nick Coghlan wrote: > >> >> On 11 March 2014 11:29, R. David Murray w

Re: [Python-Dev] Whats New in 3.4 is pretty much done...

2014-03-11 Thread Victor Stinner
2014-03-11 13:28 GMT+01:00 Nick Coghlan : > I was thinking of adding a new "Migrating from Python 2" section at > the end of the porting guide, noting the changed recommendations in > the migration guide (i.e. people that read it a while ago should read > it again), as well as the restoration of th

Re: [Python-Dev] Whats New in 3.4 is pretty much done...

2014-03-11 Thread Nick Coghlan
On 11 March 2014 12:05, R. David Murray wrote: > In addition to the items in Serhiy's list that didn't have news entries, > there were a couple of features that were added after Beta1. So there > might be some other features with missing versionadded/changed tags in > the NEWS sections I didn't g

Re: [Python-Dev] Whats New in 3.4 is pretty much done...

2014-03-11 Thread Victor Stinner
Hi, Thanks David! I added a summary of security improvements: http://docs.python.org/dev/whatsnew/3.4.html#summary-release-highlights Can someone please review it? Don't hesitate to modify the text directly. Check also if the summary is complete. Victor 2014-03-11 3:05 GMT+01:00 R. David Murray

Re: [Python-Dev] undocumented help() function change in Python 3.4?

2014-03-11 Thread Georg Brandl
Am 11.03.2014 08:00, schrieb Ned Deily: > In article , > Georg Brandl wrote: > >> Am 11.03.2014 06:31, schrieb Ned Deily: >> > In article >> > , >> > Nick Coghlan wrote: >> >> On 11 March 2014 11:29, R. David Murray wrote: >> >> > The whatsnew updates (including the one for help) weren't cop

Re: [Python-Dev] undocumented help() function change in Python 3.4?

2014-03-11 Thread Ned Deily
In article , Georg Brandl wrote: > Am 11.03.2014 06:31, schrieb Ned Deily: > > In article > > , > > Nick Coghlan wrote: > >> On 11 March 2014 11:29, R. David Murray wrote: > >> > The whatsnew updates (including the one for help) weren't copied into > >> > rc3. They will be in final though,