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 saffroy
Recipients eric.araujo, r.david.murray, rhettinger, saffroy
Date 2011-03-12.16:04:07
SpamBayes Score 1.6300051e-07
Marked as misclassified No
Message-id <1299945848.8.0.290678805922.issue11416@psf.upfronthosting.co.za>
In-reply-to
Content
I could spend some time on a small patch.

Here are the changes I would consider:
- netrc.authenticators() could return the first entry matching a given host (now it returns the last)
- it could also accept an extra parameter (with default=None), a login to select the right account/password for a given host
- it could also return a list of entries (tuples) matching the supplied host (now it always returns only one tuple), or a new method could do that

IMHO the last change would make the overall behaviour more consistent (BTW note the plural for "authenticators"), but it could also break existing apps.

Comments?
History
Date User Action Args
2011-03-12 16:04:08saffroysetrecipients: + saffroy, rhettinger, eric.araujo, r.david.murray
2011-03-12 16:04:08saffroysetmessageid: <1299945848.8.0.290678805922.issue11416@psf.upfronthosting.co.za>
2011-03-12 16:04:08saffroylinkissue11416 messages
2011-03-12 16:04:07saffroycreate