On Thursday, July 14, 2016 at 5:24:50 AM UTC+5:30, Peter Otten wrote: > Lawrence D’Oliveiro wrote: > > And there are still those who think that Python’s lax acceptance of > > non-boolean values as booleans is a good idea... > > I don't think this particular problem serves as an argument for stricter > handling of boolean expressions because the fix <details Ive yet to grok snipped>
I was going to apologise for the snark Then I see thats not my words; I said something along similar lines Doesn't mean python needs to change Just that suggesting that python's bool notion is straightforward is an unnecessary lie – especially to newbies. -- https://mail.python.org/mailman/listinfo/python-list