[Numpy-discussion] StringIO test failure with Python3.1.2

Pauli Virtanen pav+sp@iki...
Wed Mar 24 13:41:27 CDT 2010


Wed, 24 Mar 2010 13:35:51 -0500, Bruce Southey wrote:
[clip]
>      elif isinstance(item, collections.Callable):
>    File "/usr/local/lib/python3.1/abc.py", line 121, in
>    __instancecheck__
>      subclass = instance.__class__
> AttributeError: 'PyCapsule' object has no attribute '__class__'

Seems like another Python bug. All objects probably should have the 
__class__ attribute...

-- 
Pauli Virtanen



More information about the NumPy-Discussion mailing list