Skip to content

file() was removed from Py3, use ‘with open()’ instead #198

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

Merged
merged 1 commit into from
Sep 27, 2017

Conversation

cclauss
Copy link
Contributor

@cclauss cclauss commented Sep 27, 2017

file() no longer exists in Python 3.

The current version does not explicitly close file handles but this version fixes that.

file() no longer exists in Python 3.

The current version does not explicitly close file handles but this version fixes that.
@yidao620c yidao620c merged commit 13cab51 into yidao620c:master Sep 27, 2017
@cclauss cclauss deleted the patch-3 branch September 27, 2017 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants