Julien ÉLIE <jul...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue1926>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to