Milan Oberkirch added the comment: I implemented one approach to solve this by writing new member functions for each method (see the patch attached). Bonus: It does not change the usage of login() in any way (which uses the new functions internally). Another option would be to make those functions private/put them into login() and provide an optional keyarg. Or auth objects, but as far as I can see only 3 methods are relevant so it might be an overkill?
So that's the easy way to fix it, would be glad if it helps! ---------- keywords: +patch nosy: +zvyn Added file: http://bugs.python.org/file34279/smtplib.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