The Python Oracle

Why do `any` and `all` not appear to use short-circuit evaluation here?

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Music Box Puzzles

--

Chapters
00:00 Question
00:43 Accepted answer (Score 8)
02:05 Answer 2 (Score 2)
02:41 Answer 3 (Score 0)
03:00 Thank you

--

Full question
https://stackoverflow.com/questions/7220...

Accepted answer links:
[See also]: https://stackoverflow.com/questions/6409...

Answer 2 links:
https://github.com/python/cpython/blob/m...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python

#avk47