Re: [Python-Dev] Another buildslave - Ubuntu again

2012-05-02 Thread Senthil Kumaran
On Wed, May 2, 2012 at 1:55 PM, Martin v. Löwis mar...@v.loewis.de wrote: I'm not sure how useful it is to have a build slave which you can't commit to having for more than 3 months. So I'm -0 on adding this slave, but it is up to Antoine to decide. I am likely switch to places within 3

Re: [Python-Dev] Open PEPs and large-scale changes for 3.3

2012-05-02 Thread Larry Hastings
On 05/01/2012 01:12 PM, Brett Cannon wrote: That would be great! First thing is addressing Guido's concerns from http://mail.python.org/pipermail/python-dev/2012-March/117515.html and then handling any issues you found. Not sure if Larry was asking about this out of curiosity or because he too

Re: [Python-Dev] Another buildslave - Ubuntu again

2012-05-02 Thread Martin v. Löwis
On 02.05.2012 08:07, Senthil Kumaran wrote: On Wed, May 2, 2012 at 1:55 PM, Martin v. Löwismar...@v.loewis.de wrote: I'm not sure how useful it is to have a build slave which you can't commit to having for more than 3 months. So I'm -0 on adding this slave, but it is up to Antoine to decide.

[Python-Dev] Does trunk still support any compilers that *don't* allow declaring variables after code?

2012-05-02 Thread Larry Hastings
Right now the CPython trunk religiously declares all variables at the tops of scopes, before any code, because this is all C89 permits. Back in the 90s all the C compilers took a page out of the C++ playbook and independently, but nearly without exception, extended the language to allow

Re: [Python-Dev] [RELEASED] Python 3.3.0 alpha 3

2012-05-02 Thread Mark Shannon
Georg Brandl wrote: On behalf of the Python development team, I'm happy to announce the third alpha release of Python 3.3.0. This is a preview release, and its use is not recommended in production settings. Python 3.3 includes a range of improvements of the 3.x series, as well as easier

Re: [Python-Dev] Does trunk still support any compilers that *don't* allow declaring variables after code?

2012-05-02 Thread Antoine Pitrou
On Wed, 02 May 2012 01:43:32 -0700 Larry Hastings la...@hastings.org wrote: I realize we can't jump to C99 because of A Certain Compiler. (Its name rhymes with Bike Row Soft Frizz You All See Muss Muss.) But even that compiler added this extension in the early 90s. Do we officially

Re: [Python-Dev] [RELEASED] Python 3.3.0 alpha 3

2012-05-02 Thread Nick Coghlan
On Wed, May 2, 2012 at 7:55 PM, Mark Shannon m...@hotpy.org wrote: Or maybe three parts? New features. Behavioural changes (i.e. bug fixes) Performance enhancements The release PEPs are mainly there for *our* benefit, not end users. For end users, it's the What's New document that matters.

Re: [Python-Dev] [RELEASED] Python 3.3.0 alpha 3

2012-05-02 Thread Mark Shannon
Nick Coghlan wrote: On Wed, May 2, 2012 at 7:55 PM, Mark Shannon m...@hotpy.org wrote: Or maybe three parts? New features. Behavioural changes (i.e. bug fixes) Performance enhancements The release PEPs are mainly there for *our* benefit, not end users. For end users, it's the What's New

Re: [Python-Dev] Does trunk still support any compilers that *don't* allow declaring variables after code?

2012-05-02 Thread Matt Joiner
On May 2, 2012 6:00 PM, Antoine Pitrou solip...@pitrou.net wrote: On Wed, 02 May 2012 01:43:32 -0700 Larry Hastings la...@hastings.org wrote: I realize we can't jump to C99 because of A Certain Compiler. (Its name rhymes with Bike Row Soft Frizz You All See Muss Muss.) But even that

Re: [Python-Dev] Does trunk still support any compilers that *don't* allow declaring variables after code?

2012-05-02 Thread Stefan Behnel
Matt Joiner, 02.05.2012 15:37: On May 2, 2012 6:00 PM, Antoine Pitrou wrote: On Wed, 02 May 2012 01:43:32 -0700 Larry Hastings la...@hastings.org wrote: I realize we can't jump to C99 because of A Certain Compiler. (Its name rhymes with Bike Row Soft Frizz You All See Muss Muss.) But even

Re: [Python-Dev] Does trunk still support any compilers that *don't* allow declaring variables after code?

2012-05-02 Thread R. David Murray
On Wed, 02 May 2012 21:37:35 +0800, Matt Joiner anacro...@gmail.com wrote: On May 2, 2012 6:00 PM, Antoine Pitrou solip...@pitrou.net wrote: On Wed, 02 May 2012 01:43:32 -0700 Larry Hastings la...@hastings.org wrote: I realize we can't jump to C99 because of A Certain Compiler. (Its

Re: [Python-Dev] Does trunk still support any compilers that *don't* allow declaring variables after code?

2012-05-02 Thread Curt Hagenlocher
On Wed, May 2, 2012 at 6:56 AM, Stefan Behnel stefan...@behnel.de wrote: I'm not sure if MSVC and MSVC++ are the same thing, but I surely remember reports by MSVC users only a few years ago that Cython generated C code contained a declaration after an executed code at some point, and that

[Python-Dev] outdated info on download pages for older versions

2012-05-02 Thread Carl Meyer
Hi all, Are the download pages for older Python versions supposed to be kept up to date at all? I just noticed that the 2.4.6 download page (http://www.python.org/download/releases/2.4.6/) says things like Python 2.4 is now in security-fix-only mode (whereas in fact it no longer gets even

Re: [Python-Dev] Another buildslave - Ubuntu again

2012-05-02 Thread Antoine Pitrou
On Wed, 2 May 2012 14:07:09 +0800 Senthil Kumaran sent...@uthcode.com wrote: On Wed, May 2, 2012 at 1:55 PM, Martin v. Löwis mar...@v.loewis.de wrote: I'm not sure how useful it is to have a build slave which you can't commit to having for more than 3 months. So I'm -0 on adding this slave,

Re: [Python-Dev] Another buildslave - Ubuntu again

2012-05-02 Thread Antoine Pitrou
On Wed, 2 May 2012 13:13:15 +1000 Chris Angelico ros...@gmail.com wrote: On Wed, May 2, 2012 at 1:09 PM, Senthil Kumaran sent...@uthcode.com wrote: Also, I think the instructions in the wiki could be improved. I was not able to su - buildbot after installing through package manager. I shall

Re: [Python-Dev] outdated info on download pages for older versions

2012-05-02 Thread Terry Reedy
On 5/2/2012 10:16 AM, Carl Meyer wrote: Hi all, Are the download pages for older Python versions supposed to be kept up to date at all? I just noticed that the 2.4.6 download page (http://www.python.org/download/releases/2.4.6/) says things like Python 2.4 is now in security-fix-only mode

Re: [Python-Dev] Another buildslave - Ubuntu again

2012-05-02 Thread Senthil Kumaran
On Wed, May 2, 2012 at 10:54 PM, Antoine Pitrou solip...@pitrou.net wrote: What are the characteristics of your machine? We already have several Linux x86/x86-64 buildbots... That said, we could also toy with other build options if someone has a request about that. It is not very unique. It

Re: [Python-Dev] outdated info on download pages for older versions

2012-05-02 Thread Michael Foord
On 2 May 2012, at 16:55, Terry Reedy wrote: On 5/2/2012 10:16 AM, Carl Meyer wrote: Hi all, Are the download pages for older Python versions supposed to be kept up to date at all? I just noticed that the 2.4.6 download page (http://www.python.org/download/releases/2.4.6/) says things like

Re: [Python-Dev] Another buildslave - Ubuntu again

2012-05-02 Thread Antoine Pitrou
On Thu, 3 May 2012 00:25:05 +0800 Senthil Kumaran sent...@uthcode.com wrote: On Wed, May 2, 2012 at 10:54 PM, Antoine Pitrou solip...@pitrou.net wrote: What are the characteristics of your machine? We already have several Linux x86/x86-64 buildbots... That said, we could also toy with other

Re: [Python-Dev] outdated info on download pages for older versions

2012-05-02 Thread Ezio Melotti
On 02/05/2012 19.33, Michael Foord wrote: On 2 May 2012, at 16:55, Terry Reedy wrote: I would send the above to webmas...@python.org (should be at the bottom of pages). We develop CPython but do not directly manage the website. Not true. The download pages are administered by the release

Re: [Python-Dev] outdated info on download pages for older versions

2012-05-02 Thread Brian Curtin
On Wed, May 2, 2012 at 12:06 PM, Ezio Melotti ezio.melo...@gmail.com wrote: On 02/05/2012 19.33, Michael Foord wrote: On 2 May 2012, at 16:55, Terry Reedy wrote: I would send the above to webmas...@python.org (should be at the bottom of pages). We develop CPython but do not directly manage

Re: [Python-Dev] outdated info on download pages for older versions

2012-05-02 Thread Martin v. Löwis
On 02.05.2012 17:55, Terry Reedy wrote: On 5/2/2012 10:16 AM, Carl Meyer wrote: Hi all, Are the download pages for older Python versions supposed to be kept up to date at all? I just noticed that the 2.4.6 download page (http://www.python.org/download/releases/2.4.6/) says things like Python

Re: [Python-Dev] outdated info on download pages for older versions

2012-05-02 Thread Martin v. Löwis
Are the download pages for older Python versions supposed to be kept up to date at all? I occasionally update them when I see issues with them. Your specific issue, I missed so far. If you would like to make this kind of update, please let me know. Regards, Martin

Re: [Python-Dev] Open PEPs and large-scale changes for 3.3

2012-05-02 Thread Yury Selivanov
On 2012-05-01, at 4:12 PM, Brett Cannon wrote: That would be great! First thing is addressing Guido's concerns from http://mail.python.org/pipermail/python-dev/2012-March/117515.html and then handling any issues you found. Not sure if Larry was asking about this out of curiosity or

Re: [Python-Dev] Open PEPs and large-scale changes for 3.3

2012-05-02 Thread Yury Selivanov
On 2012-05-02, at 2:46 AM, Larry Hastings wrote: On 05/01/2012 01:12 PM, Brett Cannon wrote: That would be great! First thing is addressing Guido's concerns from http://mail.python.org/pipermail/python-dev/2012-March/117515.html and then handling any issues you found. Not sure if Larry was

Re: [Python-Dev] [Python-checkins] cpython: Fix PyUnicode_Substring() for start = length and start end

2012-05-02 Thread Nick Coghlan
On Thu, May 3, 2012 at 10:33 AM, victor.stinner python-check...@python.org wrote: +    if (start = length || end start) { +        assert(end == length); +        return PyUnicode_New(0, 0); +    } That assert doesn't look right. Consider: abc[4:1] Unless I'm missing something, end will

Re: [Python-Dev] [Python-checkins] cpython: Fix PyUnicode_Substring() for start = length and start end

2012-05-02 Thread Victor Stinner
+    if (start = length || end start) { +        assert(end == length); +        return PyUnicode_New(0, 0); +    } That assert doesn't look right. Oh, you're right. I added it for the first case: start=length. But the assertion is really useless, I removed it. Thanks! Victor