[Twisted-Python] Large Transfers

Glyph Lefkowitz glyph at twistedmatrix.com
Sun May 11 07:27:09 MDT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday, May 10, 2003, at 08:33 PM, Uwe C. Schroeder wrote:

> Thanks a lot for taking the time to assemble this.
> This makes it way clearer.

You're welcome.  I'm glad that it made sense.

If you want to repay the favor, turning this into a more 
generally-useful utility class and contributing it back to Twisted 
would be great :-).

PB wizards: look at the example in the previous file.  I think that 
with some cacheable magic we could actually set up a utility using 
Cacheables where, when a Pageable is returned, it instantiates an 
appropriate client-side collector object and then returns that as the 
final answer when the paging is done.  This would be more convenient 
than having to change the signature of objects which may return large 
quantities of data.  For extra credit, add an errback-calling mechanism.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (Darwin)

iD8DBQE+vk+yvVGR4uSOE2wRAk7UAJ4wBqxAyoMrPzIRoT6qXQPuu9q7RQCeLhB3
T3ZwRgca07+HPS4nzfemewM=
=7/j9
-----END PGP SIGNATURE-----





More information about the Twisted-Python mailing list