+1. Go for it.

I don't see why we shouldn't.  2.4 has been out a great while.

Scott

On Mar 27, 2005, at 6:49 AM, 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?


Cheers,


Leo



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to