[issue21113] Error usage of class.__bases__

2014-04-01 Thread Lotus Qin
Lotus Qin added the comment: get the __doc__ in a wrong way, it works now. -- resolution: -> invalid status: open -> closed ___ Python tracker ___ __

[issue21113] Error usage of class.__bases__

2014-03-31 Thread Lotus Qin
Changes by Lotus Qin : -- title: Error usage of class.__bases__() -> Error usage of class.__bases__ ___ Python tracker ___ ___ Python-

[issue21113] Error usage of class.__bases__()

2014-03-31 Thread Lotus Qin
New submission from Lotus Qin: function in urllib.request.build_opener() def isclass(obj): return isinstance(obj, type) or hasattr(obj, "__bases__") should it be `obj` or `obj.__class__`? cause in the man of 3.4, there is only `class.__bases__`, but the code there may function lik