-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
BUG/API: disallow boolean arithmetic operations #6803
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
Conversation
cool...merge on green |
crap just realized this will fail on py3 ... |
less trivial than i thought ... will finish in a bit |
BUG/API: disallow boolean arithmetic operations
no this only disallowing silly things True + True |
Is this silly?
I know we say: just use & instead. And no problem at all that is the recommended way.
So I was just wondering if there is a good reason to disallow this, apart from "people should use &" |
it breaks Numexpr and so will simply raise it will fail loudly it didn't work before if the frame was big enough (and hit Numexpr) |
this was disallowed because numexpr doesn't have the op codes to deal with ops like Bool OP Bool -> Bool where |
closes #6762