Joachim B Haga wrote:
>> Since changing this would break class definitions, that ain't going to
>> happen. Suggestions for how to explain the behaviour more clearly in the
>> exec() documentation probably wouldn't hurt though.
> 
> I don't quite see how exec() affects the class definition syntax?

I was merely pointing out that running exec() with separate globals and
locals namespaces ends up invoking the same underlying machinery as is
used to execute a class definition.

For the docs suggestions, could you either email that to
d...@python.org, or else create a documentation issue at
bugs.python.org? (It will get lost otherwise)

Cheers,
Nick.

-- 
Nick Coghlan   |   ncogh...@gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to