Nick Coghlan added the comment:

>From a quick scan of the patch, I suspect the current implementation will also 
>break this code:

  class Outer:
    class InnerParent:
    class InnerChild(InnerParent):

The evaluation of the other args to build_class needs to happen before we enter 
the new outer scope to fix that.

I also agree with the others that this should use hidden variable names for the 
build_class arguments, rather than __args__ and __kw___.


Python tracker <>
Python-bugs-list mailing list

Reply via email to