Re: [Python-Dev] optimizing out local variables

2008-02-24 Thread Gregory P. Smith
On 2/24/08, Guido van Rossum <[EMAIL PROTECTED]> wrote: > > Let's only do it for -O; the optimization may interfere with debugging the > code. Does anyone ever actually bother to use -O? On Sun, Feb 24, 2008 at 6:27 PM, Neal Norwitz <[EMAIL PROTECTED]> wrote: > > > Short description (see http://

Re: [Python-Dev] future_builtins (was: Backporting PEP 3127 to trunk)

2008-02-24 Thread Guido van Rossum
On Sun, Feb 24, 2008 at 7:02 PM, Neal Norwitz <[EMAIL PROTECTED]> wrote: > On Sun, Feb 24, 2008 at 6:57 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > > On Sat, Feb 23, 2008 at 5:59 PM, Neal Norwitz <[EMAIL PROTECTED]> wrote: > > > On Sat, Feb 23, 2008 at 8:06 AM, Guido van Rossum <[EMAIL PRO

Re: [Python-Dev] February bug day outcome

2008-02-24 Thread Neal Norwitz
On Sun, Feb 24, 2008 at 6:52 PM, A.M. Kuchling <[EMAIL PROTECTED]> wrote: > Yesterday's bug day was another success, closing 48 issues. Several > committers were there: Facundo Bastista, Georg Brandl, and Christian > Heimes. Facundo organized a local group of participants, and we > committed a

Re: [Python-Dev] future_builtins (was: Backporting PEP 3127 to trunk)

2008-02-24 Thread Neal Norwitz
On Sun, Feb 24, 2008 at 6:57 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On Sat, Feb 23, 2008 at 5:59 PM, Neal Norwitz <[EMAIL PROTECTED]> wrote: > > On Sat, Feb 23, 2008 at 8:06 AM, Guido van Rossum <[EMAIL PROTECTED]> > wrote: > > > > > > I do think map() and filter() should issue a

Re: [Python-Dev] future_builtins (was: Backporting PEP 3127 to trunk)

2008-02-24 Thread Guido van Rossum
On Sat, Feb 23, 2008 at 5:59 PM, Neal Norwitz <[EMAIL PROTECTED]> wrote: > On Sat, Feb 23, 2008 at 8:06 AM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > > > > I do think map() and filter() should issue a warning under -3 when the > > first arg is None. (Or does 2to3 detect this now?) > > Wha

Re: [Python-Dev] optimizing out local variables

2008-02-24 Thread Guido van Rossum
Let's only do it for -O; the optimization may interfere with debugging the code. On Sun, Feb 24, 2008 at 6:27 PM, Neal Norwitz <[EMAIL PROTECTED]> wrote: > Short description (see http://bugs.python.org/issue2181 for the patch > and more details): > > Optimize code like: >x = any_expression >

Re: [Python-Dev] optimizing out local variables

2008-02-24 Thread Brett Cannon
On Sun, Feb 24, 2008 at 6:27 PM, Neal Norwitz <[EMAIL PROTECTED]> wrote: > Short description (see http://bugs.python.org/issue2181 for the patch > and more details): > > Optimize code like: >x = any_expression >return x > > to: >return any_expression > > The local variable x is no l

[Python-Dev] February bug day outcome

2008-02-24 Thread A.M. Kuchling
Yesterday's bug day was another success, closing 48 issues. Several committers were there: Facundo Bastista, Georg Brandl, and Christian Heimes. Facundo organized a local group of participants, and we committed a number of contributions from new people. Should we have one next month? The PyCon

Re: [Python-Dev] Proposed revision of PEP 3 (usingthe issue tracker)

2008-02-24 Thread Terry Reedy
"Nick Coghlan" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] |Martin v. Löwis wrote: |> One issue to consider is also politeness. People sometimes complain that |> they feel treated unfair if their report is declared "invalid" - they |> surely believed it was a valid report, at the

[Python-Dev] optimizing out local variables

2008-02-24 Thread Neal Norwitz
Short description (see http://bugs.python.org/issue2181 for the patch and more details): Optimize code like: x = any_expression return x to: return any_expression The local variable x is no longer set before returning. Is this appropriate for .pyc generation or should it only be done f

Re: [Python-Dev] Downloads Page

2008-02-24 Thread skip
Michael> The downloads page on python.org shows 2.5.1 as the latest Michael> release: Michael> http://python.org/download/ Thanks. I just checked in a change. I'm not sure how long it takes to update the website, but it should be fairly soon. Skip _

[Python-Dev] Downloads Page

2008-02-24 Thread Michael Foord
Hello all, The downloads page on python.org shows 2.5.1 as the latest release: http://python.org/download/ Michael ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org

Re: [Python-Dev] [Python-3000] Python 2.6 and 3.0

2008-02-24 Thread Mark Hammond
Jeroen Ruigrok van der Werven: > -On [20080224 19:57], "Martin v. Lwis" ([EMAIL PROTECTED]) wrote: > >I can continue to provide Windows binaries if desired. > > If need be, I can help testing the build infrastructure since I have > access > to various releases of

Re: [Python-Dev] Use Python 3.0 syntax for except and raise?

2008-02-24 Thread Collin Winter
On Mon, Feb 18, 2008 at 3:44 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > I don't know if you're done with this already, but there's a lot of > experience suggesting such sweeps are quite dangerous. In the past, > whenever a sweep across the entire stdlib was done, it's always caused > a fe

Re: [Python-Dev] future_builtins (was: Backporting PEP 3127 to trunk)

2008-02-24 Thread Collin Winter
On Sat, Feb 23, 2008 at 8:06 AM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > I don't think a -3 warning for oct or hex would do any good. > > I do think map() and filter() should issue a warning under -3 when the > first arg is None. (Or does 2to3 detect this now?) 2to3 does detect that: it wi

Re: [Python-Dev] [Python-3000] Python 2.6 and 3.0

2008-02-24 Thread Jeroen Ruigrok van der Werven
-On [20080224 19:57], "Martin v. Löwis" ([EMAIL PROTECTED]) wrote: >I can continue to provide Windows binaries if desired. If need be, I can help testing the build infrastructure since I have access to various releases of Visual Studio as well. -- Jeroen Ruigrok van der Werven /

Re: [Python-Dev] [Python-3000] Python 2.6 and 3.0

2008-02-24 Thread Martin v. Löwis
> It very well might. See Christian Heimes's follow up re: Windows > builds. OTOH, I'm okay if at least for the alphas, the binary builds > lag behind the source releases, though I'd like to get the process as > streamlined as possible. I can continue to provide Windows binaries if desired

Re: [Python-Dev] [Python-3000] Python 2.6 and 3.0

2008-02-24 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Feb 22, 2008, at 6:54 PM, Brett Cannon wrote: >> Hi everyone, >> >> I've volunteered to be the release manager for Python 2.6 and 3.0. >> It's been several years since I've RM'd a Python release, and I'm >> happy to do it again (he says while the m

Re: [Python-Dev] can't set attributes of built-in/extension type

2008-02-24 Thread Guido van Rossum
On Sun, Feb 24, 2008 at 6:49 AM, Neal Becker <[EMAIL PROTECTED]> wrote: > > Guido van Rossum wrote: > > > On Sat, Feb 23, 2008 at 4:55 PM, Neal Becker <[EMAIL PROTECTED]> wrote: > >> There is some discussion on this subject, archived here: > >> http://permalink.gmane.org/gmane.comp.python.gener

Re: [Python-Dev] can't set attributes of built-in/extension type

2008-02-24 Thread Neal Becker
Guido van Rossum wrote: > On Sat, Feb 23, 2008 at 4:55 PM, Neal Becker <[EMAIL PROTECTED]> wrote: >> There is some discussion on this subject, archived here: >> http://permalink.gmane.org/gmane.comp.python.general/560661 >> >> I wonder if anyone could shed some light on this subject? >> >> (Or,

Re: [Python-Dev] Python 2.6 and 3.0

2008-02-24 Thread Christian Heimes
Barry Warsaw wrote: > I'd also like for us to consider doing regular monthly releases. > Several other FLOSS projects I'm involved with are doing this to very > good success. The nice thing is that everyone knows well in advance > when the next release is going to happen, and so all developers and

Re: [Python-Dev] Proposed revision of PEP 3 (using the issue tracker)

2008-02-24 Thread Steven H. Rogers
Ron Adam wrote: > Nick Coghlan wrote: > >> Martin v. Löwis wrote: >> >>> One issue to consider is also politeness. People sometimes complain that >>> they feel treated unfair if their report is declared "invalid" - they >>> surely believed it was a valid report, at the time they made it. >>

Re: [Python-Dev] Proposed revision of PEP 3 (using the issue tracker)

2008-02-24 Thread Christian Heimes
Steve Holden wrote: > +1 for "cannot reproduce". "cannot reproduce" is ambiguous in a slightly different, more family oriented manner ... :] Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev

Re: [Python-Dev] Proposed revision of PEP 3 (using the issue tracker)

2008-02-24 Thread Steve Holden
Brett Cannon wrote: > On Sat, Feb 23, 2008 at 10:17 PM, Ron Adam <[EMAIL PROTECTED]> wrote: >> >> Nick Coghlan wrote: >> > Martin v. Löwis wrote: >> >> One issue to consider is also politeness. People sometimes complain that >> >> they feel treated unfair if their report is declared "invalid" -