Milan Oberkirch added the comment: Here comes the patch implementing your suggestions. Changing the API to make adding new auth methods and still using login() would only require to make preferred_auth accessable as you mentioned. Using custom authobjects is possible with this patch.
---------- Added file: http://bugs.python.org/file35500/smtplib_auth_060614.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15014> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com