[Python-ideas] Break the dominance of boolean values in boolean context

MRAB python at mrabarnett.plus.com
Thu Sep 15 01:27:12 CEST 2011

On 14/09/2011 23:44, Steven D'Aprano wrote:
> MRAB wrote:
>> What should any([]) return?
> I'm not sure I understand the question, because any([]) already has an
> answer, and changing it would be a backwards-incompatible change. So I
> don't quite understand the point of the question: the answer is "exactly
> what it already returns".
I'm just checking that the corner cases have been considered. After
all, explicit is better than implicit...

More information about the Python-ideas mailing list