Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Builtin open methods lack IOError for prohibited operations #18

Closed
GoogleCodeExporter opened this issue Mar 16, 2015 · 1 comment
Closed
Labels

Comments

@GoogleCodeExporter
Copy link

When files are opened with the builtin open, then the mode must be considered 
to permit various operations. For example, if the file is opened for reading 
only, then write() and writelines() must result in IOError, when the file is 
not opened for reading, then read() and readlines() must result in IOError. 
Also, when the file is only opened for reading, flush() must do nothing.

Original issue reported on code.google.com by [email protected] on 3 Jun 2013 at 5:24

@GoogleCodeExporter
Copy link
Author

This issue was closed by revision b2e83013c61e.

Original comment by [email protected] on 6 Jun 2013 at 4:49

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants