Message130686
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? |
|
Date |
User |
Action |
Args |
2011-03-12 16:04:08 | saffroy | set | recipients:
+ saffroy, rhettinger, eric.araujo, r.david.murray |
2011-03-12 16:04:08 | saffroy | set | messageid: <1299945848.8.0.290678805922.issue11416@psf.upfronthosting.co.za> |
2011-03-12 16:04:08 | saffroy | link | issue11416 messages |
2011-03-12 16:04:07 | saffroy | create | |
|