]> granicus.if.org Git - python/commit
#14984: On POSIX, enforce permissions when reading default .netrc.
authorR David Murray <rdmurray@bitdance.com>
Mon, 16 Sep 2013 17:48:44 +0000 (13:48 -0400)
committerR David Murray <rdmurray@bitdance.com>
Mon, 16 Sep 2013 17:48:44 +0000 (13:48 -0400)
commit4189b67a66afc7a5d4ed9ef39c9f8187d98e7909
tree202254f086d26dabc01be2f2abb331cd996f829e
parent503baf9ecd2cc5fb0bb85cec99c300862c02de85
#14984: On POSIX, enforce permissions when reading default .netrc.

Initial patch by Bruno Piguet.

This is implemented as if a useful .netrc file could exist without passwords,
which is possible in the general case; but in fact our netrc implementation
does not support it.  Fixing that issue will be an enhancement.
Doc/library/netrc.rst
Lib/netrc.py
Lib/test/test_netrc.py
Misc/NEWS