Bruno Desthuilliers wrote:

Lawrence D'Oliveiro a écrit :

What is the rationale for considering all instances true of a user-
defined type?

It's a stupid idea,

Nope, it's a very sensible default (given you can redefine the 'nothingness' value of your types instances), specially when the language doesn't have a proper boolean type (which was the case for Python until 2.2 or 2.3, can't remember exactly).

Man, you've given a serious answer to a sarcastic reply to an OP who has been -- for years -- second in trolliness only to Xah Lee.

Either that, or I have to replace my humor detector.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to