Re:Python's Max() Is Broken
by dekhn on Tuesday January 16, 2024 @05:18PM
(#39019940)
I wonder what would happen if you modified the interpreter to do this by default, and then ran a comprehensive test suite across a wide range of commonly used packages.
At the very least it would be intersting to find code that calls max([]).
At the very least it would be intersting to find code that calls max([]).