Message9660
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 |
|
Date |
User |
Action |
Args |
2015-03-16 13:47:22 | Arfrever | set | recipients:
+ Arfrever, zyasoft, stefan.richthofer |
2015-03-16 13:47:22 | Arfrever | set | messageid: <1426513642.21.0.196406277775.issue2292@psf.upfronthosting.co.za> |
2015-03-16 13:47:22 | Arfrever | link | issue2292 messages |
2015-03-16 13:47:21 | Arfrever | create | |
|