Robert Bradshaw wrote:
> Filling the dict ahead of time might actually work better...one would  
> execute the body in a temporary scope and then construct the class.  
> This would bring things more in line with how Python does things.

That's probably the right thing to do. I can't remember
exactly, but I think the main reason I created the class
first was so that I could use the same code to access a
name as I was already for module variables. If you can
remember somehow that you need to use dict access instead
of attribute access, I don't think there should be any
problem.

-- 
Greg
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to