Message9660

Author Arfrever
Recipients Arfrever, stefan.richthofer, zyasoft
Date 2015-03-16.13:47:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1426513642.21.0.196406277775.issue2292@psf.upfronthosting.co.za>
In-reply-to
Content
os.readlink(non_existent_file) should raise OSError instead of returning None.

$ python2.7 -c 'import os; print(os.readlink("/non_existent_file"))'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
OSError: [Errno 2] No such file or directory: '/non_existent_file'
$ jython2.7 -c 'import os; print(os.readlink("/non_existent_file"))'
None
History
Date User Action Args
2015-03-16 13:47:22Arfreversetrecipients: + Arfrever, zyasoft, stefan.richthofer
2015-03-16 13:47:22Arfreversetmessageid: <1426513642.21.0.196406277775.issue2292@psf.upfronthosting.co.za>
2015-03-16 13:47:22Arfreverlinkissue2292 messages
2015-03-16 13:47:21Arfrevercreate