[issue11416] netrc module does not handle multiple entries for a single host

2020-01-04 Thread Tibor Baranya
Change by Tibor Baranya : -- pull_requests: +17249 pull_request: https://github.com/python/cpython/pull/17823 ___ Python tracker <https://bugs.python.org/issue11

[issue11416] netrc module does not handle multiple entries for a single host

2020-01-04 Thread Tibor Baranya
Tibor Baranya added the comment: Just for further clarification on how .netrc is supposed to work, I tested some other implementations. Sorry if this comment gets too long, but it seems netrc is not really a standardized solution. In my last comment I referred curl and wget, but of course

[issue11416] netrc module does not handle multiple entries for a single host

2019-12-22 Thread Tibor Baranya
Tibor Baranya added the comment: As I understand this issue is there up to 3.8 (and will live into 3.9). As urllib3 supports netrc and requests uses urllib3, this issue can potentially cause a lot of inconsistencies. In case of multile entries (with no user provided), curl and wget takes