Am 23.06.16 um 05:12 schrieb Larry Hudson:
On 06/22/2016 12:42 AM, Lawrence D’Oliveiro wrote:
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.

https://xkcd.com/1172/

        Christian
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to