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

Subtraction from Undefined does not raise UndefinedError #530

Merged
merged 1 commit into from
Jan 3, 2017

Conversation

nick-garcia
Copy link

Setting sub equal to _fail_with_undefined_error so subtractions with undefined variables will fail properly like other arithemtic operations.

undefined variables will fail properly like other arithemtic operations.
@nick-garcia
Copy link
Author

Fix for #529

@chaosagent
Copy link

While you're at it you might also want to add __rsub__ and everything else listed here.

@mitsuhiko mitsuhiko merged commit 479d870 into pallets:master Jan 3, 2017
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants