Larry Bates wrote:

> 1) Don't call a class instance exec, it will mask the built-in
> exec statement.

"exec" is a reserved word, and cannot be masked:

 >>> exec = 10
   File "<stdin>", line 1
     exec = 10
          ^
SyntaxError: invalid syntax

</F>

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

Reply via email to