[Numpy-discussion] StringIO test failure with Python3.1.2
Charles R Harris
Sat Mar 27 01:25:48 CDT 2010
On Wed, Mar 24, 2010 at 12:41 PM, Pauli Virtanen <firstname.lastname@example.org<pav%2Bsp@iki.fi>
> Wed, 24 Mar 2010 13:35:51 -0500, Bruce Southey wrote:
> > 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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion