This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author chasonr
Recipients chasonr, christian.heimes, janssen
Date 2008-01-25.14:53:55
SpamBayes Score 0.002157306
Marked as misclassified No
Message-id <>
OK, I got a copy of the Subversion sources and the new SSL library looks
like just what is needed here.  Examining the other protocol modules
that already support SSL, I find these things:

httplib has:
HTTPConnection(host[, port[, strict[, timeout]]])
HTTPSConnection(host[, port[, key_file[, cert_file[, strict[, timeout]]]]])

poplib has:
POP3(host[, port[, timeout]])
POP3_SSL(host[, port[, keyfile[, certfile]]])

imaplib has:
IMAP4([host[, port]])
IMAP4_SSL([host[, port[, keyfile[, certfile]]]])

smtplib has:
SMTP([host[, port[, local_hostname[, timeout]]]])
SMTP_SSL([host[, port[, local_hostname[, keyfile[, certfile[, timeout]]]]]])

Now nntplib as it stands has no SSL-using variant.  The existing factory
method is:
NNTP(host[, port[, user[, password[, readermode[, usenetrc]]]]])

What seems most consistent with the other modules is to define:
NNTP_SSL(host[, port[, keyfile[, certfile[, user[, password[,
readermode[, usenetrc]]]]]]])
Date User Action Args
2008-01-25 14:53:58chasonrsetspambayes_score: 0.00215731 -> 0.002157306
recipients: + chasonr, janssen, christian.heimes
2008-01-25 14:53:58chasonrsetspambayes_score: 0.00215731 -> 0.00215731
messageid: <>
2008-01-25 14:53:56chasonrlinkissue1926 messages
2008-01-25 14:53:55chasonrcreate