[issue1926] NNTPS support in nntplib

Julien ÉLIE report at bugs.python.org
Wed Nov 3 19:10:20 CET 2010


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

>> * starttls() should probably test the `tls_on` attribute first and
>> raise a ValueError if True (as you point out, a client mustn't attempt
>> to start a new TLS session if one is already active).
>
> ...I actually meant to do exactly that, but forgot to put the check
> in. Thank you. 

And it should also make sure the user is not already authenticated.
And that STARTTLS is advertised (if nntp_version >=2).

----------

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


More information about the Python-bugs-list mailing list