self

Steve Holden sholden at holdenweb.com
Wed Jun 5 11:47:26 EDT 2002


"Vojin Jovanovic" <vjovanov at stevens-tech.edu> wrote ...
[...]
>
> > Well, good luck with your project -- and don't spring any more
> > requirements on us, it's getting harder each time to solve your problem.
>
> Sorry, but it is not that my problem is hard.  It is that the concept of
> having
> to reference instance variables always through self. is making it hard and
> inconvenient which was my point in my original post.
> My opinion is that those points explained in FAQ are irrelevant.  The only
> one relevant is .....
>
[...]

Could you maybe use self.__dict__ as a namespace argument to the eval()?

if-tim-didn't-solve-this-i-don't-fancy-my-chances-ly y'rs  - steve
--
-----------------------------------------------------------------------
Steve Holden                                 http://www.holdenweb.com/
Python Web Programming                http://pydish.holdenweb.com/pwp/
-----------------------------------------------------------------------








More information about the Python-list mailing list