This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients barry, benjamin.peterson, bruno.Piguet, georg.brandl, giampaolo.rodola, larry, r.david.murray
Date 2013-09-15.19:09:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1379272182.88.0.0288544506112.issue14984@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-09-15 19:09:42r.david.murraysetrecipients: + r.david.murray, barry, georg.brandl, larry, giampaolo.rodola, benjamin.peterson, bruno.Piguet
2013-09-15 19:09:42r.david.murraysetmessageid: <1379272182.88.0.0288544506112.issue14984@psf.upfronthosting.co.za>
2013-09-15 19:09:42r.david.murraylinkissue14984 messages
2013-09-15 19:09:42r.david.murraycreate