Closed GoogleCodeExporter closed 9 years ago
in cogen.web.async.py --------------------------- class COGENProxy(object): def __str__(self): return repr(self.__dict__) but COGENProxy instance hava no `__dict__` attribute. >>> from cogen.web.async import COGENProxy >>> dir(COGENProxy()) ['__class__', '__delattr__', '__doc__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__slots__', '__str__', '__subclasshook__', 'content_length', 'exception', 'operation', 'read_count', 'result'] >>> str(COGENProxy()) Module cogen.web.async:65 in __str__ view AttributeError: 'COGENProxy' object has no attribute '__dict__'
Original issue reported on code.google.com by egteam.l...@gmail.com on 30 Jan 2010 at 1:30
egteam.l...@gmail.com
Fixed in trunk.
Original comment by ionel...@gmail.com on 30 Jan 2010 at 2:38
ionel...@gmail.com
Original issue reported on code.google.com by
egteam.l...@gmail.com
on 30 Jan 2010 at 1:30