Carsten Klein <carsten.kl...@axn-software.de> added the comment: I think it is, actually, considering
@foo @bar class A: pass with foo and bar being both decorator classes, the chained call foo(bar(A)) will return and instance of foo instead of A With decorator classes you need to actually do this: foo()(bar()(A)) which will give you the "required" result, an instance of class A. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11788> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com