On Monday, June 1, 2015 at 7:03:49 AM UTC-5, Eddilbert Macharia wrote:
> I think i kind of understand now. 
> 
> Instead of python having data types like int, string, e.t.c it has two 
> primitive types which are class type and class object which are created by 
> python interpreter during its setup .using this two classes python is able to 
> create some more data types

Eddibert, don't let this crowd (Terry, Stephen, et al.) confuse you.  They are 
as confused about it as you are.  

The truth is, that they've told a lie to themselves (everything is an object) 
to hide some details FROM THEMSELVES in their model.  They climb a ladder of 
ambiguity anytime there's a new problem in their model and call it a "type", or 
they pull out the "metaclass" term (because no one really knows that that is, 
so they feel *pretty* safe).

A type is not an object in the same way an instantiated type is an object -- 
anymore than a blueprint for a building is the building itself.

The reason this confusion appears is for the exact reason I said on an earlier 
thread:  Python does not define classes in it's grammar -- so it can't account 
for the difference between an [instantiated] object and it's definition/type.

Mark
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to