News for hackers. Stuff that matters.
Re:The 2,500 year old history of why Python’s all([]) return... by Dylan16807 on Friday August 25, 2023 @06:00PM (#37267538)
> "for any <is false?>"

What do you mean here?

"some element doesn't have the attribute" requires a non-empty set.

If you mean "it is false that some element has the attribute", then you need to write that very differently, which makes it much less of a surprise that it has different implications from the "all" statement.

There are no comments on this comment yet.