Previously, all(...) got a list of function objects, which did not get
executed but instead interpreted as boolean values. Now the logic inside
the functions is properly called.
I honestly can't tell if it's correct or not without testing it. How about implementing all_predicates that would do what we want? Might be a bit clearer.
Previously,
all(...)
got a list of function objects, which did not get executed but instead interpreted as boolean values. Now the logic inside the functions is properly called.