[Buildbot-devel] require python-2.5 on the server in Buildbot-1.0?

Marcus Lindblom macke at yar.nu
Wed Sep 3 08:24:55 UTC 2008


Dustin J. Mitchell wrote:
> Python-2.5 added PEP-342, which allows twisted's inlineCallbacks.
> With some extra support, these become a *really* expressive way to
> write complex asynchronous functions.
> 
> I'd very much like to use this technique to make buildbot
> configuration files natural for a non-twisted programmer -- in
> particular, I'd like to write buildsteps this way.
> 
> I'd also like to use this technique throughout the rest of buildbot,
> as it makes the code *much* more readable.  I just spent an hour
> converting code from this form to using deferredGenerators, and it has
> gotten a lot uglier and introduced a lot of irritating bugs.
> 
> Given that 1.0 will probably be out around the same time as py3k, are
> there any strong objections to this?

Nope. We run the master on Python 2.4/OpenBSD at the moment but we're 
due for an upgrade anyway. :)

Cheers,
/Marcus





More information about the devel mailing list