Treat not operator as logical not #551

Merged
sb10q merged 1 commits from occheung/nac3:logical-not into master 2024-11-08 18:28:34 +08:00
Member

not operator in Python should report if the given integer is a non-zero, instead of performing bitwise not operation.

Essentially reverts a portion of 92d6f0a. We have the invert unary op for bitwise not.

`not` operator in Python should report if the given integer is a non-zero, instead of performing bitwise not operation. Essentially reverts a portion of 92d6f0a. We have the invert unary op for bitwise not.
occheung added 1 commit 2024-11-08 17:32:02 +08:00
sb10q requested review from derppening 2024-11-08 17:33:18 +08:00
derppening approved these changes 2024-11-08 17:44:45 +08:00
sb10q merged commit 979209a526 into master 2024-11-08 18:28:34 +08:00
occheung deleted branch logical-not 2024-11-12 15:21:52 +08:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/nac3#551
No description provided.