gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: [proposal] Moving to python 2.4 for Gump3
Date Tue, 29 Mar 2005 03:40:12 GMT
Leo Simons wrote:
> Hi gang,
> 
> I propose we start requiring Python 2.4 for Gump3.
> 
> Motivation:
> 1) the "subprocess" module described in PEP 324 finally properly solves
> running processes within python using a decent interface. It's new in python
> 2.4. Needless to say, we run a lot of subprocesses!
> 
> 2) decorators. Similar to java attributes. See PEP 318. There's a bunch of
> stuff I've been thinking about regarding conditional execution of plugins
> that would be real easy to set up cleanly using attributes:
> 
> class MyBuildResultsProcessorPlugin(AbstractPlugin):
>     @skip_if_build_failed
>     def visit_project(project):
>         pass
> 
> class MyBuildResultsRecoveryPlugin(AbstractPlugin):
>     @only_if_build_failed
>     def visit_project(project):
>         pass
> 
> And there's of course a bunch of other stuff as well, but its less important
> to us.
> 
> Packages are available under ubuntu (hoary), debian (sarge), fedora
> (4-devel), DarwinPorts, and of course there's a bunch of other kinds of
> distributions to be gotten from the python.org site.
> 
> Any objections?

No, go for it.

-- 
Stefano.


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Mime
View raw message