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

Return context managers from filesystem.openForReading and co #539

Open
chevah-robot opened this issue Jul 13, 2013 · 0 comments
Open

Return context managers from filesystem.openForReading and co #539

chevah-robot opened this issue Jul 13, 2013 · 0 comments

Comments

@chevah-robot
Copy link

T1511 task was created by adiroiban on 2013-07-13 12:34:52Z.
Last changed on 2013-07-13 12:35:03Z.

Beside returning an opened file

openForReading, openForWriting and co should also return a context manager so that we can use them using with openForReading():

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

No branches or pull requests

1 participant