On Wed, Mar 24, 2010 at 12:41 PM, Pauli Virtanen <pav...@iki.fi<pav%2...@iki.fi>
> wrote:

> 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...
>
>
Might be related to this also: http://bugs.python.org/issue7624. I don't see
any easy way to get a patch from the python repository for the revision that
was to supposed to fix that.  Anyone know how to do that?

Chuck
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to