[Cython] ct_DEF.__test__.large_nums doctest failing in 32bit

Yaroslav Halchenko lists at onerussian.com
Wed Sep 23 16:08:45 CEST 2015


On Tue, 22 Sep 2015, Stefan Behnel wrote:
> > Expected:
> >     -4294967295
> > Got:
> >     1

> I cannot reproduce this locally (even tried a 32bit docker container), so I
> blindly changed a couple of minor things in that branch. Could you give it
> another try?

> If that didn't help, here is a patch that adds a longness suffix to plain
> integer literals based on their type (e.g. found after coercions). I'm not
> sure yet if that's really a good idea, but would be helpful to know if it
> fixes this test. Could you try both and report back?

thanks -- will do!
-- 
Yaroslav O. Halchenko
Center for Open Neuroscience     http://centerforopenneuroscience.org
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik        


More information about the cython-devel mailing list