[Twisted-web] [PATCH] nonbuffered cache
Valentino Volonghi aka Dialtone
dialtone at divmod.com
Thu Jan 12 14:18:51 MST 2006
On Thu, Jan 12, 2006 at 08:47:22PM +0100, Andrea Arcangeli wrote:
> The ideal unittest would depend on the timings too. Are unittest allowed
> to depend on the timigs? However writing the unittest is going to be
> more difficult than writing the feature ;)
Create a deferred, create a timer, return the deferred from the test,
the deferred will be fired when the timer triggers it.
> > I suggest also adding a ticket to trac for your patch.
>
> Ok. BTW, in the meantime I did a minor cleanup, the first deferred in
> the list isn't needed, it can be replaced by Null, that saves some bytes
> at runtime (nothing measurable but anyway).
I don't think we care about bytes. The cleaner the better.
--
Valentino Volonghi aka Dialtone
Now Running MacOSX 10.4
Blog: http://vvolonghi.blogspot.com
http://weever.berlios.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://twistedmatrix.com/pipermail/twisted-web/attachments/20060112/66c3abce/attachment.pgp
More information about the Twisted-web
mailing list