[issue31111] Python 3.6 has an inaccessible attribute on FileNotFoundError

2017-08-02 Thread R. David Murray
R. David Murray added the comment: It is intended. See issue 30554. -- nosy: +r.david.murray resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Inaccessible attribute characters_written on OSError instances ___

[issue31111] Python 3.6 has an inaccessible attribute on FileNotFoundError

2017-08-02 Thread Charles Ferguson
New submission from Charles Ferguson: Whilst debugging a problem in some of my code (which turned out to be a misspelt filename), I found that I could not access one of the properties of the FileNotFoundError object. Essentially, if you get a 'FileNotFoundError' for opening a file that does