[issue14984] netrc module allows read of non-secured .netrc file

Georg Brandl report at bugs.python.org
Tue Sep 17 07:35:52 CEST 2013


Georg Brandl added the comment:

I would welcome a "versionchanged" block in the docs addition.

There seems to be a stray space in the string in the last line here:

+                            try:
+                                user = pwd.getpwuid(os.getuid())[0]
+                            except KeyError:
+                                user = 'uid %s ' % os.getuid()

Otherwise, fine for 3.2.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14984>
_______________________________________


More information about the Python-bugs-list mailing list