Message212663
| Author |
zvyn |
| Recipients |
barry, catalin.iacob, r.david.murray, sandro.tosi, zvyn |
| Date |
2014年03月03日.19:57:49 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1393876670.9.0.337038307291.issue15014@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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! |
|