Hello all,

The documentation on execfile() and locals() makes it clear that code
executed from execfile() can not modify local variables in the function
from wich execfile() was called. Two questions about this:

1. Is there some way to circumvent this limitation (apart from explicitly
copying variables to/from a dictionary passed as locals to execfile()) ?

2. (for experts only I guess) I'd like to understand *why* this is the case. 

TIA,

-- 
FA

There are three of them, and Alleline.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to