R. David Murray added the comment:

Hmm.  Answering the doc question caused me to run into something that calls the 
whole patch into question: 
  
  
http://www.unix.com/unix-dummies-questions-answers/11326-netrc-refuses-password.html.

In that example, the ftp program only rejected reading the password from the 
.netrc file when the permissions were wrong, but otherwise happily read it.  
*That* would be a better backward compatibility fix.  And yes, in that case I 
think we should probably put a note about it in the docs.

I'll update my patch and add the permissions test.  I originally used OSError, 
but with the trigger on password only I think the parse error would actually be 
more appropriate, so I'll switch to that.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14984>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to