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 serhiy.storchaka
Recipients BreamoreBoy, benjamin.peterson, brian.curtin, hynek, pitrou, serhiy.storchaka, stutzbach, tim.golden
Date 2014-01-24.20:05:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1390593932.04.0.0721391248072.issue20384@psf.upfronthosting.co.za>
In-reply-to
Content
Ah, here is os.open() raises an exception. Thank you Mark.

On Linux it raises an exception with file name.

>>> import os; os.open('non-existing', os.O_RDONLY | getattr(os, 'O_BINARY', 0), 0x666)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
FileNotFoundError: [Errno 2] No such file or directory: 'non-existing'
History
Date User Action Args
2014-01-24 20:05:32serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, tim.golden, benjamin.peterson, stutzbach, brian.curtin, BreamoreBoy, hynek
2014-01-24 20:05:32serhiy.storchakasetmessageid: <1390593932.04.0.0721391248072.issue20384@psf.upfronthosting.co.za>
2014-01-24 20:05:32serhiy.storchakalinkissue20384 messages
2014-01-24 20:05:31serhiy.storchakacreate