Re: Small hack to help interactively identify components of an object

Mark Hammond (MHammond@cmutual.com.au)
Sun, 18 Sep 1994 23:51:11 GMT

In article <9409162037.AA12973@vicorp.vicorp.com>, Donald Beaudry <don@vicorp.com> says:
> <snip>
>
>My current implementation allows for the dynamic creation of new types
>(real type objects just like those returned by the type() function)
>that can be used to represent C structures, arrays, enums, and
>bitsets.
>
>With this system you can declare a structure like
>
> struct('foo', (('a', 'char'), ('b', 'double')))
>
> <more snip!>

This sounds very nice. I am toying with the concept of being able
to call an OS API (Under MSWindows) from Python, without C support

(simiar to the way SmallTalk and Visual Basic can - ie, name the
function, and just call it, with the params magically working themselves
out).

So apart from the nice features you describe that your system would give,
I can see other benefits of such a tool.

So count me as one more Python user supportive of this :-)

Mark.