[issue633930] Nested class __name__

2012-07-29 Thread Stefan Mihaila
Stefan Mihaila added the comment: Only an issue in Python2. >>> A.B.__qualname__ 'A.B' >>> repr(A.B) "" -- nosy: +mstefanro versions: +Python 2.6, Python 2.7 ___ Python tracker ___

[issue633930] Nested class __name__

2012-07-29 Thread Cheer Xiao
Cheer Xiao added the comment: There is a bigger problem: >>> class C: ... class D: ... pass ... >>> repr(C) "" >>> repr(C.D) "" Default repr on nested classes produce specious results. The problem become pratical when you have two nested classes C1.D and C2.D in module m, which en