[Twisted-Python] twisted.news cleanups and tests

Glyph Lefkowitz glyph at twistedmatrix.com
Sun Apr 13 00:16:55 MDT 2003


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


On Saturday, April 12, 2003, at 04:50 PM, Jp Calderone wrote:

> ... throughout Twisted wherever email-like messages need to be dealt 
> with ...

Speaking of such message-unifying work:

Moshe and I were recently on IRC, discussing a unification of several 
disparate message representations within Twisted.  We're not exactly 
sure where this is going, but in a future release, the .mail, .words, 
and .news packages should all be unified, probably under the heading of 
"words", in order to present a coherent messaging API for things like 
bots which don't care whether you're talking to them through email, 
netnews, IRC, AOL IM, or whatever.

What this really means is that words is going to grow a 
"store-and-forward" mechanism as well as a "store-and-check" mechanism. 
  Also, a higher-level POP3 and IMAP client will be integrated for 
retrieval of messages.

twisted.im also needs to be refactored, in order to make its API more 
coherent and easier to register observers of.  However, it remains 
unclear whether this kind of functionality actually deserves a separate 
package (that .words will use) or whether it will go into .words 
directly.  Moshe has me mostly convinced that it should remain an 
independant package, since real-time-client code is going to look 
significantly different to abstract-message-processing-and-forwarding 
code.

Thoughts?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (Darwin)

iD8DBQE+mQDZvVGR4uSOE2wRAi+AAJwOuVHtPtDr23Jz2bTgG5FbhnvqNACgjrVq
5/4mYIyKwFlvA0wMRyvWkjg=
=sF+C
-----END PGP SIGNATURE-----





More information about the Twisted-Python mailing list