[Twisted-Python] Improving spawnProcess and friends

Andrew Bennetts andrew-twisted at puzzling.org
Wed Jul 19 08:46:05 MDT 2006


On Wed, Jul 19, 2006 at 11:09:35AM +0300, Nuutti Kotivuori wrote:
> Hi,
> 
> I'd like to write an improvement to spawnProcess - but I thought I
> should check with the devs here first to get comments and to see if it
> would be something that could be merged to the mainline at some point.

Your proposed features sound interesting, but with a patch or even a proposed
API it's hard to say if it would be mergeable :)

[...]
> 
> The actual API for these isn't finalized, I was thinking of making it
> up as I go and seeing how it turns out.

That's a reasonable strategy.  I strongly recommend writing tests as you go
along (or first, even), so that when you're happy with it, you already have
patch with tests to offer.  It won't get merged without tests :)

Once you have a patch, file it on the twistedmatrix.com Trac.  Or if you want to
discuss an API proposal, feel free to follow up on this list.

I think the odds are good that it would be merged, but it depends on the 
details.

-Andrew.





More information about the Twisted-Python mailing list