[Buildbot-devel] require python-2.5 on the server in Buildbot-1.0?
Dustin J. Mitchell
dustin at zmanda.com
Mon Sep 1 04:09:07 UTC 2008
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?
Dustin
--
Storage Software Engineer
http://www.zmanda.com
More information about the devel
mailing list