Python23: cannot inherit from bool?

Dale Strickland-Clark dale at
Thu Jan 16 11:01:04 CET 2003

Robin Becker <robin at> wrote:

>In article <b03kr8$lbili$1 at>, James Kew
><james.kew at> writes
>>FrankS wrote:
>>> It seems that 2.3 doesn't allow you to inherit from bool:
>>I'm not qualified to comment on why it's not allowed, but out of interest:
>>why might you want to inherit from bool?
>.... don't know the answer to that one, but is the non inheritance
>property available to ordinary python if yes we could create leaf

At the risk of sounding dim: what's a leaf class?
Dale Strickland-Clark
Riverhall Systems Ltd

More information about the Python-list mailing list