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

Raise RuntimeError when try to use with ... not async with... #67

Merged
merged 3 commits into from
Feb 13, 2018

Conversation

Hardtack
Copy link
Contributor

with ... is syntactically right, but is not right usage.
So, RuntimeError is right in these cases. SyntaxError is treated as fatal error usually. Please use it carefully.

It fixes #64

Copy link
Contributor

@nhumrich nhumrich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐙

@nhumrich nhumrich merged commit 06e5c7b into CanopyTax:master Feb 13, 2018
@nhumrich
Copy link
Contributor

This is in 0.19.1. Sorry it took so long for me to merge it >.<

@Hardtack Hardtack deleted the feature/with-runtimeerror branch March 10, 2018 08:15
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.

SyntaxError?
2 participants