Over 30 types of variables available in python ?

Dave Angel d at davea.name
Mon Jan 7 15:45:28 CET 2013

On 01/07/2013 09:32 AM, marduk wrote:
> So I guess if one *really* wanted to compare C variables to Python
> variables, you could say that all python variables are of type void*
> except Python does all mallocs/frees and the casting for you.

A better analogy would be to C++, and all names would be something like 
shared_ptr<object*>.  And (except for old-style classes) all actual data
is of a type derived from object.



More information about the Python-list mailing list