Jean-Marc Saffroy <saff...@gmail.com> added the comment: So I finally cooked a little patch for netrc.py in python 2.6. The patch extends netrc.authenticators() with an extra parameter to select a login name, but otherwise the behaviour remains the same (still returns the last entry for a given host).
Lightly tested, works for me. ---------- keywords: +patch Added file: http://bugs.python.org/file21443/netrc.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11416> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com