Re: [Python-Dev] [GSoC] Developing a benchmark suite (for Python 3.x)

2011-04-08 Thread Maciej Fijalkowski
On Fri, Apr 8, 2011 at 3:29 AM, Jesse Noller jnol...@gmail.com wrote: On Thu, Apr 7, 2011 at 7:52 PM, Michael Foord fuzzy...@voidspace.org.uk wrote: On 08/04/2011 00:36, Anthony Scopatz wrote: On Thu, Apr 7, 2011 at 6:11 PM, Michael Foord fuzzy...@voidspace.org.uk wrote: On 07/04/2011

Re: [Python-Dev] [GSoC] Developing a benchmark suite (for Python 3.x)

2011-04-08 Thread Stefan Behnel
Jesse Noller, 07.04.2011 22:28: On Thu, Apr 7, 2011 at 3:54 PM, Anthony Scopatz wrote: Hi Daniel, Thanks for putting this together. I am a huge supporter of benchmarking efforts. My brief comment is below. On Wed, Apr 6, 2011 at 11:52 AM, DasIch wrote: 1. Definition of the benchmark suite.

Re: [Python-Dev] [GSoC] Developing a benchmark suite (for Python 3.x)

2011-04-08 Thread Maciej Fijalkowski
On Fri, Apr 8, 2011 at 11:22 AM, Stefan Behnel stefan...@behnel.de wrote: Jesse Noller, 07.04.2011 22:28: On Thu, Apr 7, 2011 at 3:54 PM, Anthony Scopatz wrote: Hi Daniel, Thanks for putting this together.  I am a huge supporter of benchmarking efforts.  My brief comment is below. On Wed,

Re: [Python-Dev] [GSoC] Developing a benchmark suite (for Python 3.x)

2011-04-08 Thread Stefan Behnel
Maciej Fijalkowski, 08.04.2011 11:41: On Fri, Apr 8, 2011 at 11:22 AM, Stefan Behnelstefan...@behnel.de wrote: Jesse Noller, 07.04.2011 22:28: On Thu, Apr 7, 2011 at 3:54 PM, Anthony Scopatz wrote: Hi Daniel, Thanks for putting this together. I am a huge supporter of benchmarking efforts.

Re: [Python-Dev] Test cases not garbage collected after run

2011-04-08 Thread Michael Foord
On 08/04/2011 02:10, Robert Collins wrote: On Fri, Apr 8, 2011 at 8:12 AM, Michael Foordfuzzy...@voidspace.org.uk wrote: On 07/04/2011 20:18, Robert Collins wrote: On Fri, Apr 8, 2011 at 4:49 AM, Michael Foordfuzzy...@voidspace.org.uk wrote: You mean that the test run keeps the test

Re: [Python-Dev] [GSoC] Developing a benchmark suite (for Python 3.x)

2011-04-08 Thread Michael Foord
On 08/04/2011 11:18, Stefan Behnel wrote: Maciej Fijalkowski, 08.04.2011 11:41: On Fri, Apr 8, 2011 at 11:22 AM, Stefan Behnelstefan...@behnel.de wrote: [snip...] So, once CPython is up and running in the benchmark test, adding Cython should be as easy as copying the configuration, installing

Re: [Python-Dev] Code highlighting in tracker

2011-04-08 Thread Michael Foord
On 08/04/2011 02:02, Eugene Toder wrote: Because tracker is ugly. Is this an unbiased opinion? :) Having Python code syntax highlighted would definitely be *nicer*, and wouldn't *necessarily* mean switching to a custom markup format for all submissions (we could probably get 90% of the way

[Python-Dev] AST Transformation Hooks for Domain Specific Languages

2011-04-08 Thread Nick Coghlan
A few odds and ends from recent discussions finally clicked into something potentially interesting earlier this evening. Or possibly just something insane. I'm not quite decided on that point as yet (but leaning towards the latter). Anyway, without further ado, I present: AST Transformation

[Python-Dev] Ack, wrong list

2011-04-08 Thread Nick Coghlan
Sorry, my last mail was meant to go to python-ideas, not python-dev (and the gmail/mailman disagreement means I can't easily reply to it). Reply to the version on python-ideas please, not the version on here. Cheers, Nick. -- Nick Coghlan   |   ncogh...@gmail.com   |   Brisbane, Australia

Re: [Python-Dev] [GSoC] Developing a benchmark suite (for Python 3.x)

2011-04-08 Thread Maciej Fijalkowski
On Fri, Apr 8, 2011 at 12:18 PM, Stefan Behnel stefan...@behnel.de wrote: Maciej Fijalkowski, 08.04.2011 11:41: On Fri, Apr 8, 2011 at 11:22 AM, Stefan Behnelstefan...@behnel.de  wrote: Jesse Noller, 07.04.2011 22:28: On Thu, Apr 7, 2011 at 3:54 PM, Anthony Scopatz wrote: Hi Daniel,

Re: [Python-Dev] [GSoC] Developing a benchmark suite (for Python 3.x)

2011-04-08 Thread Stefan Behnel
Maciej Fijalkowski, 08.04.2011 13:37: On Fri, Apr 8, 2011 at 12:18 PM, Stefan Behnel wrote: So, once CPython is up and running in the benchmark test, adding Cython should be as easy as copying the configuration, installing Cython and adding two lines to site.py. can you provide a simple

Re: [Python-Dev] [GSoC] Developing a benchmark suite (for Python 3.x)

2011-04-08 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/07/2011 07:52 PM, Michael Foord wrote: Personally I think the Gsoc project should just take the pypy suite and run with that - bikeshedding about what benchmarks to include is going to make it hard to make progress. We can have fun with

Re: [Python-Dev] [GSoC] Developing a benchmark suite (for Python 3.x)

2011-04-08 Thread Jesse Noller
On Fri, Apr 8, 2011 at 8:51 AM, Tres Seaver tsea...@palladion.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/07/2011 07:52 PM, Michael Foord wrote: Personally I think the Gsoc project should just take the pypy suite and run with that - bikeshedding about what benchmarks to

Re: [Python-Dev] AST Transformation Hooks for Domain Specific Languages

2011-04-08 Thread Michael Foord
On 8 April 2011 12:29, Nick Coghlan ncogh...@gmail.com wrote: A few odds and ends from recent discussions finally clicked into something potentially interesting earlier this evening. Or possibly just something insane. I'm not quite decided on that point as yet (but leaning towards the

Re: [Python-Dev] [GSoC] Developing a benchmark suite (for Python 3.x)

2011-04-08 Thread Anthony Scopatz
and will you complain if we don't provide a custom cython hacks? (like providing extra type information) I don't consider providing extra type information a hack. Remember that they are only used for additional speed-ups in cases where the author is smarter than the compiler.

Re: [Python-Dev] [GSoC] Developing a benchmark suite (for Python 3.x)

2011-04-08 Thread Terry Reedy
On 4/8/2011 11:32 AM, Anthony Scopatz wrote: an interpreter. For the purposes of benchmarking, the distinction between compiler and interpreter, as some one said above, 'dubious'. I agree. We should be comparing 'Python execution systems'. My impression is that some of what Cython does in

[Python-Dev] Summary of Python tracker Issues

2011-04-08 Thread Python tracker
ACTIVITY SUMMARY (2011-04-01 - 2011-04-08) Python tracker at http://bugs.python.org/ To view or respond to any of the issues listed below, click on the issue. Do NOT respond to this message. Issues counts and deltas: open2741 ( +8) closed 20845 (+58) total 23586 (+66) Open issues

Re: [Python-Dev] [Python-checkins] cpython (3.1): Issue 11715: Build extension modules on multiarch Debian and Ubuntu by

2011-04-08 Thread Éric Araujo
Hi, http://hg.python.org/cpython/rev/7582a78f573b branch: 3.1 user:Barry Warsaw ba...@python.org summary: Issue 11715: Build extension modules on multiarch Debian and Ubuntu by extending search paths to include multiarch directories. diff --git a/setup.py b/setup.py +

Re: [Python-Dev] AST Transformation Hooks for Domain Specific Languages

2011-04-08 Thread Jon Riehl
Hi Nick, all, Just for the record, I would point to Mython (mython.org) as an existing provider of this capability. I've already added an AST node called Quote that functions like your DSL node, along with well defined lexical, concrete syntax, and compile-time properties. I have a mostly

Re: [Python-Dev] AST Transformation Hooks for Domain Specific Languages

2011-04-08 Thread David Malcolm
On Fri, 2011-04-08 at 21:29 +1000, Nick Coghlan wrote: A few odds and ends from recent discussions finally clicked into something potentially interesting earlier this evening. Or possibly just something insane. I'm not quite decided on that point as yet (but leaning towards the latter). I too

Re: [Python-Dev] AST Transformation Hooks for Domain Specific Languages

2011-04-08 Thread Eric Snow
On Fri, Apr 8, 2011 at 10:50 AM, David Malcolm dmalc...@redhat.com wrote: On Fri, 2011-04-08 at 21:29 +1000, Nick Coghlan wrote: A few odds and ends from recent discussions finally clicked into something potentially interesting earlier this evening. Or possibly just something insane. I'm

Re: [Python-Dev] [Python-checkins] cpython (3.1): Issue 11715: Build extension modules on multiarch Debian and Ubuntu by

2011-04-08 Thread Antoine Pitrou
On Fri, 08 Apr 2011 18:10:35 +0200 Éric Araujo mer...@netwok.org wrote: Hi, http://hg.python.org/cpython/rev/7582a78f573b branch: 3.1 user:Barry Warsaw ba...@python.org summary: Issue 11715: Build extension modules on multiarch Debian and Ubuntu by extending

Re: [Python-Dev] [GSoC] Developing a benchmark suite (for Python 3.x)

2011-04-08 Thread DasIch
I talked to Fijal about my project last night, the result is that basically the project as is, is not that interesting because the means to execute the benchmarks on multiple interpreters are currently missing. Another point we talked about was that porting the benchmarks would not be very useful

Re: [Python-Dev] AST Transformation Hooks for Domain Specific Languages

2011-04-08 Thread Terry Reedy
On 4/8/2011 1:14 PM, Jon Riehl wrote: I have a mostly functioning front end for 2.X that does these expansions (MyFront), and I'm waiting for a stable Mercurial migration Done and in use over a month. http://hg.python.org/ Further discussion of this idea is on the python-ideas list. (The

Re: [Python-Dev] [Python-checkins] cpython (3.1): Issue 11715: Build extension modules on multiarch Debian and Ubuntu by

2011-04-08 Thread Nick Coghlan
On Sat, Apr 9, 2011 at 3:40 AM, Antoine Pitrou solip...@pitrou.net wrote:  Isn’t there a possible raise condition here?  I think it’s recommended  to follow EAFP for mkdir and makedirs. Since this is setup.py, I don't think we care. (I assume you meant race condition, not raise condition)