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 apalala
Recipients Arfrever, apalala, pitrou
Date 2012-07-04.23:00:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1341442803.48.0.173147935176.issue15247@psf.upfronthosting.co.za>
In-reply-to
Content
Note that attempting subsequent operations on the returned object do raise IsADirectoryError.


>>> import io
>>> import os
>>> d = io.open(os.open('.',0))
>>> d.read()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
IsADirectoryError: [Errno 21] Is a directory
>>>
History
Date User Action Args
2012-07-04 23:00:03apalalasetrecipients: + apalala, pitrou, Arfrever
2012-07-04 23:00:03apalalasetmessageid: <1341442803.48.0.173147935176.issue15247@psf.upfronthosting.co.za>
2012-07-04 23:00:02apalalalinkissue15247 messages
2012-07-04 23:00:02apalalacreate