On Mon, 17 Nov 2008 22:08:04 +0200, Hendrik van Rooyen wrote:

> And here one is faced with the same problem as I pointed to above - if
> you do not have access to the struct definition (which you don't have at
> run time), its kind of difficult to figure out where the value is, and
> you can only access it via the public methods supplied, if any.

Asking *where* the value is is a completely different question to asking 
*what* the value is.

I demonstrated that earlier in this thread, where I implemented the 
beginnings of an int-class using unary notation, using a linked list. The 
value of the object was encoded by the length of the chain of objects, so 
there was no "where" that value was stored. It was distributed over the 
entire linked list.


-- 
Steven
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to