updating nntplib

Travis travis+ml-python at subspacefield.org
Thu Feb 5 18:38:26 EST 2009


On Thu, Feb 05, 2009 at 04:40:36PM -0600, Travis wrote:
> 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 just verified this; if the server responds to authentication with
the string "200 Welcome feeder", then nntplib bombs out with a:

nntplib.NNTPPermanentError

IMHO, it shouldn't be sensitive to anything but the numeric code,
and 200 indicates success.
-- 
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