No meta-type in Python?

Chris Ryland cpr at emsoftware.com
Sun Jan 14 12:37:56 EST 2001


In article <93q4og$ppg$1 at nnrp1.deja.com>,
  Chris Ryland <cpr at emsoftware.com> wrote:
> Just out of curiousity, why is there no <type 'type'> in Python?
>
> I.e., I'd expect type(Ellipsis) to be <type 'type'> rather than
> <type 'ellipsis'>.
>
> I realize this is opening a can of worms about meta-types (cf.
> Smalltalk's (and other languages) theoretical completeness in this
> area), but simply looking for enlightenment from the experts.

Thanks to everyone who kindly pointed out my think-o (Ellipsis is an
object, not a type). I stand corrected.

--
Chris Ryland * Em Software, Inc. * www.emsoftware.com


Sent via Deja.com
http://www.deja.com/



More information about the Python-list mailing list