Re: [Soya-user] Python 2.5

2007-05-08 Thread Jiba
On Sat, 10 Mar 2007 20:06:33 +0100 Jan Ciger <[EMAIL PROTECTED]> wrote: > On Saturday 10 March 2007, Greg Ewing wrote: > > I'm wondering whether something here should really be using > > uintptr_t instead of intptr_t. Does it work if you use > > > >    ctypedef unsigned long intptr_t > > > > ins

Re: [Soya-user] Python 2.5

2007-03-10 Thread Jan Ciger
On Saturday 10 March 2007, Greg Ewing wrote: > I'm wondering whether something here should really be using > uintptr_t instead of intptr_t. Does it work if you use > >    ctypedef unsigned long intptr_t > > instead? > > -- > Greg I have tested it with unsigned long and everything works fine. Th

Re: [Soya-user] Python 2.5

2007-03-10 Thread Jan Ciger
On Saturday 10 March 2007, Greg Ewing wrote: > I'm wondering whether something here should really be using > uintptr_t instead of intptr_t. Does it work if you use > >ctypedef unsigned long intptr_t > > instead? Yeah, I think that this is the right thing to do - I have realized this just af

Re: [Soya-user] Python 2.5

2007-03-10 Thread Greg Ewing
Jan Ciger wrote: --- Soya-0.13/c.pxd 2006-07-11 22:06:18.0 +0200 +++ Soya-0.13-patch/c.pxd 2007-03-10 03:14:50.0 +0100 @@ -39,4 +39,4 @@ float floor (float x) cdef extern from "stdint.h": - ctypedef long intptr_t + ctypedef long long intptr_t I'

Re: [Soya-user] Python 2.5

2007-03-09 Thread Jan Ciger
On Saturday 10 March 2007, marmoute wrote: > > Work for me. which Os are you using ? Mandriva 2007.1 (Cooker) I have pyrex 0.9.4.1, Soya 0.13, Python 2.5 and it bombs out with the following message when running e.g. basic-1.py: Exception exceptions.OverflowError: 'long int too large to convert

Re: [Soya-user] Python 2.5

2007-03-09 Thread marmoute
On 9 mars 07, at 23:57, Jan Ciger wrote: Hello, Is there a version of Soya which builds (and works) when compiled using new Python 2.5 and pyrex 0.9.5.1a ? I am getting weird errors with Python 2.5 (complaints about long being casted to int) and with pyrex 0.9.5.1a Soya doesn't even bui

[Soya-user] Python 2.5

2007-03-09 Thread Jan Ciger
Hello, Is there a version of Soya which builds (and works) when compiled using new Python 2.5 and pyrex 0.9.5.1a ? I am getting weird errors with Python 2.5 (complaints about long being casted to int) and with pyrex 0.9.5.1a Soya doesn't even build. Jan -- Jan Ciger GPG public key: http://