[issue1926] NNTPS support in nntplib

Julien ÉLIE report at bugs.python.org
Thu Nov 4 20:14:05 CET 2010


Julien ÉLIE <julien at trigofacile.com> added the comment:

Hi Steven,

> I also don't understand why START_TLS and AUTHINFO need to change
> how the module is interfaced to (separating log in/authentication, etc)

Because once you have used AUTHINFO, STARTTLS is no longer a valid command in a session.
The authentication part is currently delt with in the init function (in nntplib) so it needs to be separated because one could want to first use STARTTLS, and then AUTHINFO. Currently, AUTHINFO is sent just after the initial log in; it is therefore better to have AUTHINFO handled in another function.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1926>
_______________________________________


More information about the Python-bugs-list mailing list