updating nntplib

Travis travis+ml-python at subspacefield.org
Thu Feb 5 17:40:36 EST 2009


Hello all,

There are some notable deficiencies in nntlib.  Here are two:

1) It says it implements NNTP as defined in RFC 977, but NNTP
has a newer RFC, RFC 3977, which clarifies some vagueness and
has more commands defined.  However, as it currently stands you
cannot issue these commands, since they aren't available to
call.

2) In some cases, it will bomb out upon receiving certain greetings
that it doesn't expect.  As I understand it, it actually terminates
the connection, not allowing for catching an exception or anything.
I have not verified this myself.

I'd like to remedy these deficiencies.  In the case of #1, I'd
like to implement some of the new commands and provide a way to
send arbitrary commands to the server, because NNTP is designed
to allow servers to implement optional features.

I'm not sure how I'll remedy #2, but I imagine it will be clear
once I examine the code.

I am guessing that this is the right list for discussing this,
but perhaps python-dev is better.  Anyone have feedback?
-- 
Crypto ergo sum.  http://www.subspacefield.org/~travis/
Do unto other faiths as you would have them do unto yours.
If you are a spammer, please email john at subspacefield.org to get blacklisted.



More information about the Python-list mailing list