On Mon, 14 Dec 2015 20:18:58 +0100, [email protected] (Jérémie
Courrèges-Anglas) wrote:

> > As I said the tests fail with python3.4 on i386:
> >
> >   https://pbot.rmdir.de/3I3_OxgyBOqIqgR3KtBWLw
> >
> > The reason is that IPy.IP() defines a __nonzero__() method, but
> > python 3 tries to use __bool__() instead, falling back to
> > __len__().  Adding a __bool__ method fixes the regress tests, but
> > the len() method remains broken on 32 bits, using python2.7 or
> > python3.4.  
> 
> So here's a diff including the mentioned fix.  It should be reported
> upstream, mentioning the len() problem would be worth it too.

Thanks for spotting the error and the work on the fix!

Reply via email to