Andrew Vant <ajv...@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 <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