Anthony Baxter wrote:
(snip)
from what I can see, the issue is that Python itself won't accept anything but a dictionary for the namespace arguments to exec or eval()... right?
Yes and no. Yes, Python only accepts a dictionary for an exec or eval. I think that Guido would like to change this, but I doubt that it's a high priority. No, it isn't necessary to do this. The expression machinery gets around this by grapping the needed names from the DTML namespace (a MultiMapping-ish thing) nefore calling eval. Of course, this isn't the most important thing to do... Jim -- Jim Fulton mailto:jim@digicool.com Technical Director (888) 344-4332 Python Powered! Digital Creations http://www.digicool.com http://www.python.org Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.