Python internal design

Ville Vainio ville at spammers.com
Wed Apr 27 02:00:22 EDT 2005


>>>>> "Emre" == Emre Turkay <turkaye at ldre.Vanderbilt.Edu> writes:

    Emre> Hi Folks,

    Emre> I am designing a tool, in which there are dynamic types and
    Emre> variables with these types. In this respect, it is more like
    Emre> an interpreted language design.

    Emre> I wonder how these issues are implemented in Python are
    Emre> there any documents or articles about it, which I can read
    Emre> and get an idea.

It's built around string lookup. 

obj.stuff() -> look up what object is associated with string 'stuff',
get the object, see how it can be called, call it.

-- 
Ville Vainio   http://tinyurl.com/2prnb



More information about the Python-list mailing list