[Python-Dev] Okay to document the "exec tuple" form of the exec statement in Python 2.7?
greg.ewing at canterbury.ac.nz
Mon Nov 5 22:51:01 CET 2012
Nick Coghlan wrote:
> On Mon, Nov 5, 2012 at 10:08 PM, Mark Dickinson <dickinsm at gmail.com> wrote:
>>In Python 2, the 'exec' statement supports 'exec'-ing a (statement,
>>globals, locals) tuple:
If this is a deliberate feature, I'd guess it's because exec
is a statement rather than a function in Python 2, so you
can't use * to pass a tuple of arguments to it.
More information about the Python-Dev