Skip to content

Let OR and AND deal with purely boolean args#194

Merged
daid merged 1 commit into
daid:masterfrom
kbranch:all-boolean-args
Mar 21, 2026
Merged

Let OR and AND deal with purely boolean args#194
daid merged 1 commit into
daid:masterfrom
kbranch:all-boolean-args

Conversation

@kbranch

@kbranch kbranch commented Mar 20, 2026

Copy link
Copy Markdown
Contributor

The new logic update can feed an OR a list of nothing but False when both hell logic and OHKO are turned on, which it's not happy about. This adds a check in __new__ for that along with nothing but True in AND and short circuits with a plain boolean.

@daid daid merged commit b6ab06c into daid:master Mar 21, 2026
1 check passed
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.

2 participants