Type/Class Unification in Ruby
Barry A. Warsaw
bwarsaw at cnri.reston.va.us
Thu Nov 25 22:25:35 EST 1999
>>>>> "GE" == Greg Ewing <greg.ewing at compaq.com> writes:
GE> A middle ground might be to allow inheriting from any number
GE> of user-defined classes, but at most one built-in type.
And in fact, this is exactly the JPython restriction. Because Java
has only single inheritance, a JPython class can only have a single
Java base class, but any number of pure Python base classes.
-Barry
More information about the Python-list
mailing list