private

Bjorn Pettersen BPettersen at NAREX.com
Sat Jun 29 16:48:13 EDT 2002


> From: Dave Reed [mailto:dreed at capital.edu] 
> 
[snip private members]
> 
> Kind of off-topic, but this got me curious. The only way I 
> could think of is to assume (which I think is always true) 
> that the private data members are in order from the starting 
> address so based on the offset from the address of the object 
> you could access each one.

.. and of course #define private public, or just go in and edit the .h
file...

-- bjorn





More information about the Python-list mailing list