Why bool( object )?

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Tue Apr 28 06:10:33 EDT 2009


In message <54cb7f8a-
fef4-4bf8-8054-16dc9b5c8830 at d2g2000pra.googlegroups.com>, Aaron Brady wrote:

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

It's a stupid idea, and there seem to be instances of users tripping over it 
here in comp.lang.python every week.




More information about the Python-list mailing list