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

Charles R Harris charlesr.harris at gmail.com
Sat Mar 27 02:25:48 EDT 2010


On Wed, Mar 24, 2010 at 12:41 PM, Pauli Virtanen <pav+sp at iki.fi<pav%2Bsp at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20100327/ba57bcc1/attachment.html>


More information about the NumPy-Discussion mailing list