class derived from dict in eval

Florian Schulze florian.proff.schulze at gmx.net
Mon Feb 24 08:47:32 EST 2003


Hi!

I want to use my own class which is derived from dict as locals in the eval 
function, but I can't get it to work. My class calculates values dependant 
on the key. Is this possible at all, or am I at a dead end here? If it's 
possible, then please tell me which methods I have to implement.

Florian







More information about the Python-list mailing list