This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients r.david.murray, sjmurdoch
Date 2013-09-04.15:17:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1378307831.7.0.824148980901.issue18921@psf.upfronthosting.co.za>
In-reply-to
Content
I agree that this would be a good idea, but it is not a bug in the current implementation.  The only place imaplib itself uses the cached capabilities is *before* login, in the starttls method, and there it refreshes it after starttls succeeds.

Although it isn't documented any more than the 'capabilities' attribute is (and therefor neither are part of the public API currently), you can call the capability command yourself if you need the refreshed capabilities in your own code.

Good catch on the bug in the IDLE patch, though.
History
Date User Action Args
2013-09-04 15:17:11r.david.murraysetrecipients: + r.david.murray, sjmurdoch
2013-09-04 15:17:11r.david.murraysetmessageid: <1378307831.7.0.824148980901.issue18921@psf.upfronthosting.co.za>
2013-09-04 15:17:11r.david.murraylinkissue18921 messages
2013-09-04 15:17:11r.david.murraycreate