[issue1926] NNTPS support in nntplib
Andrew Vant
report at bugs.python.org
Sat Nov 6 19:22:31 CET 2010
Andrew Vant <ajvant at gmail.com> added the comment:
On 6 Nov 2010 at 17:23, StevenJ wrote:
> As it stands, the nntplib can cause the cached capabilities to be
> refreshed at certain points automatically (as it should), but I think
> it should be possible for the caller of the method to also specify
> that fresh capabilities are required and not cached ones.
I agree. I actually added a way to do this when I functioned out
__init__, so that starttls could refresh it when required.
It was ugly and not exposed to the caller though.
> something like this perhaps? :
>
> mynntp.getcapabilites(refresh=True)
My method sucked, this one doesn't. Might belong in a separate issue
though. (I feel like a bit of a hypocrite saying that now)
--
Andrew
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1926>
_______________________________________
More information about the Python-bugs-list
mailing list