[IPython-dev] Strange test failure on Shining Panda with parallel tests...
benjaminrk at gmail.com
Sun Apr 15 14:46:44 EDT 2012
On Sun, Apr 15, 2012 at 11:42, MinRK <benjaminrk at gmail.com> wrote:
> On Sun, Apr 15, 2012 at 01:16, Fernando Perez <fperez.net at gmail.com>wrote:
>> Hey Min,
>> this one looks odd to me, b/c the tests do pass just fine on my
>> system, but for some reason the ar_sugar merge is causing trouble on
>> one of the linux build bots:
>> Any idea what's going on there? Those attributes were all added in
>> that PR, so I'm not sure why they're not being found...
> They are properties, and I override `__getattr__()` for metadata access,
> so for some reason Python 2.6 handles this differently than Python ≥ 2.7.
> I'll try to nail this one down.
Aha! timedelta.total_seconds() was added in Python 2.7. I'll add a
wrapper, so that I don't rely on the method. The error messages are just
super weird, due to the bizarre code path followed when there are
properties and getattr override and errors. It seems to be doing:
So the error in the property is actually resulting in the error in getattr
(which should never have been called)
>> IPython-dev mailing list
>> IPython-dev at scipy.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-dev