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 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") Indeed, the

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 post

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] [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 wrote: > Hi, > > > http://hg.python.org/cpython/rev/7582a78f573b > > branch: 3.1 > > user:Barry Warsaw > > summary: > > Issue 11715: Build extension modules on multiarch Debian and Ubuntu > > by > > extending search paths to include

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 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 not quite deci

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

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 func

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 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 +if not os.path.

[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 wit

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 te

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 > >

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

2011-04-08 Thread Michael Foord
On 8 April 2011 12:29, 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). > > The essen

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 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 include is goi

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 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 comman

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 wrote: > Maciej Fijalkowski, 08.04.2011 11:41: >> >> On Fri, Apr 8, 2011 at 11:22 AM, Stefan Behnel >>  wrote: >>> >>> Jesse Noller, 07.04.2011 22:28: On Thu, Apr 7, 2011 at 3:54 PM, Anthony Scopatz wrote: > > Hi Daniel, > Thanks

[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 _

[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 Hooks

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 the

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 Behnel wrote: [snip...] 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

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 Foord wrote: On 07/04/2011 20:18, Robert Collins wrote: On Fri, Apr 8, 2011 at 4:49 AM, Michael Foord wrote: You mean that the test run keeps the test instances alive for the whole test run so instance attrib

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 Behnel 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 i

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 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 W

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.