On 06/22/2016 12:42 AM, Lawrence D’Oliveiro wrote:
[snip]
I feel that’s a needlessly complicated rule. It would have been simpler if 
boolean operators (and conditional expressions like in if-statements and 
while-statements) only allowed values of boolean types. But that’s one of the 
few warts in the design of Python...


Wart?? I *strongly* disagree. I find it one of the strengths of Python, it enhances Python's expressiveness. Of course, everyone is entitled to their own opinion...and this is mine.

--
     -=- Larry -=-
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to