COMMITS
/ Lib/netrc.py March 30, 2026
C
gh-139633: Run netrc file permission check only once per parse (GH-139634)
Cody Maloney committed
December 8, 2025
V
Fix pyflakes warnings: variable is assigned to but never used (#142294)
Victor Stinner committed
June 23, 2025
B
gh-135823: improve error message in `netrc` security checks (#135827)
Bénédikt Tran committed
June 22, 2025
B
gh-135815: skip `netrc` security checks if `os.getuid` is missing (#135816)
Bénédikt Tran committed
June 4, 2022
U
netrc: Remove unused "import shlex" (#93311)
Ulises Ojeda committed
November 17, 2021
E
bpo-28806: Continue work: improve the netrc library (GH-26330)
Emmanuel Arias committed
May 2, 2021
I
bpo-43733: netrc try to use UTF-8 before using locale encoding. (GH-25781)
Inada Naoki committed
November 25, 2017
B
bpo-28334: netrc() now uses expanduser() to find .netrc file (GH-4537)
Berker Peksag committed
September 30, 2017
J
bpo-30806 netrc.__repr__() is broken for writing to file (GH-2491)
James Sexton committed
April 5, 2017
S
bpo-29762: More use "raise from None". (#569)
Serhiy Storchaka committed
September 18, 2013
R
Merge #14984: only import pwd on POSIX.
R David Murray committed
R
#14984: only import pwd on POSIX.
R David Murray committed
R
Merge #14984: On POSIX, enforce permissions when reading default .netrc.
R David Murray committed
R
#14984: On POSIX, enforce permissions when reading default .netrc.
R David Murray committed
December 25, 2012
A
Replace IOError with OSError (#16715)
Andrew Svetlov committed
June 10, 2011
B
fix regression in netrc comment handling (closes #12009)
Benjamin Peterson committed
December 2, 2010
R
Merged revisions 86925 via svnmerge from
R. David Murray committed
October 26, 2007
G
Patch # 1331 by Christian Heimes.
Guido van Rossum committed
February 9, 2007
G
Fix most trivially-findable print statements.
Guido van Rossum committed
April 24, 2003
R
SF bug 557704: netrc module can't handle all passwords
Raymond Hettinger committed
April 23, 2003
R
SF 557704: netrc module can't handle all passwords
Raymond Hettinger committed
June 1, 2002
R
Replace boolean test with is None.
Raymond Hettinger committed
R
SF 563203. Replaced 'has_key()' with 'in'.
Raymond Hettinger committed
March 22, 2002
A
[Bug #532115] netrc module was broken
Andrew M. Kuchling committed
March 18, 2002
P
netrc will now raise a more predictable exception when $HOME is not set
Paul Prescod committed
April 15, 2001
G
Fix typo in attribute name (file should be filename) found by
Guido van Rossum committed
March 6, 2001
F
Define & use NetrcParseError instead of improperly overloading SyntaxError.
Fred Drake committed
February 6, 2001
S
added several more __all__ lists
Skip Montanaro committed
January 15, 2001
T
Whitespace normalization.
Tim Peters committed
December 23, 2000
A
Remove superfluous semicolons
Andrew M. Kuchling committed
December 12, 2000
F
Update the code to better reflect recommended style:
Fred Drake committed
July 13, 2000
E
Apply Greg Kochanski's fix for open/265.
Eric S. Raymond committed
E
Fix bug open/243 reported by Dimitri Papadopoulos
Eric S. Raymond committed
February 4, 2000
G
More trivial comment -> docstring transformations by Ka-Ping Yee,
Guido van Rossum committed
May 3, 1999
G
No need to import sys or string. (Andrew Dalke & kjpylint)
Guido van Rossum committed
April 9, 1999
G
Get rid of #! line
Guido van Rossum committed
December 22, 1998
G
Adding shlex and netrc by Eric Raymond.
Guido van Rossum committed