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: pass class InnerChild(InnerParent): pass 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 <rep...@bugs.python.org> <http://bugs.python.org/issue12370> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com