We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The current code generator emits no code for an assert statement when optimization is requested at compile time.
https://docs.python.org/3/reference/simple_stmts.html#the-assert-statement and https://stackoverflow.com/questions/944592/best-practice-for-using-assert
Please, don't use asserts outside of tests 😃
The text was updated successfully, but these errors were encountered:
Found good examples in the repository: https://github.com/deta/deta-python/blob/master/deta/base.py#L84-L86
Sorry, something went wrong.
Thanks @leits for the feedback! We will consider it in our next release. I think in general, we need to raise better errors.
thanks Andrii! should be resolved by #69
No branches or pull requests
https://docs.python.org/3/reference/simple_stmts.html#the-assert-statement
and https://stackoverflow.com/questions/944592/best-practice-for-using-assert
Please, don't use asserts outside of tests 😃
The text was updated successfully, but these errors were encountered: