Hi,
while trying to replace the "import sys; if sys.version_info >= (3,0)" in
the fused types dispatch code by the more straight forward "if
PY_MAJOR_VERSION >= 3" (before I came to think that this particular case
only guards useless code that does the wrong thing), I noticed that the
code generat
On 10 May 2012 21:21, Stefan Behnel wrote:
> mark florisson, 10.05.2012 21:13:
>> On 9 May 2012 08:49, Stefan Behnel wrote:
>>> Stefan Behnel, 09.05.2012 08:41:
Robert Bradshaw, 09.05.2012 00:16:
> If we're looking at doing 0.17 soon, lets just do that.
I think it's close enough to b
mark florisson, 10.05.2012 21:13:
> On 9 May 2012 08:49, Stefan Behnel wrote:
>> Stefan Behnel, 09.05.2012 08:41:
>>> Robert Bradshaw, 09.05.2012 00:16:
If we're looking at doing 0.17 soon, lets just do that.
>>> I think it's close enough to be released.
>>
>> ... although one thing I just not
On 9 May 2012 08:49, Stefan Behnel wrote:
> Stefan Behnel, 09.05.2012 08:41:
>> Robert Bradshaw, 09.05.2012 00:16:
>>> If we're looking at doing 0.17 soon, lets just do that.
>> I think it's close enough to be released.
>
> ... although one thing I just noticed is that the "numpy_memoryview" test
On Thu, May 10, 2012 at 2:25 AM, Stefan Behnel wrote:
> Hi,
>
> when declaring a C function in pure mode, you eventually end up with this:
>
> @cython.cfunc
> @cython.returns(cython.bint)
> @cython.locals(a=cython.int, b=cython.int, c=cython.int)
> def c_compare(a,b):
> c = 5
>
mark florisson, 10.05.2012 11:41:
> On 10 May 2012 10:25, Stefan Behnel wrote:
>> when declaring a C function in pure mode, you eventually end up with this:
>>
>>@cython.cfunc
>>@cython.returns(cython.bint)
>>@cython.locals(a=cython.int, b=cython.int, c=cython.int)
>>def c_compare(a
On 10 May 2012 10:25, Stefan Behnel wrote:
> Hi,
>
> when declaring a C function in pure mode, you eventually end up with this:
>
> @cython.cfunc
> @cython.returns(cython.bint)
> @cython.locals(a=cython.int, b=cython.int, c=cython.int)
> def c_compare(a,b):
> c = 5
> retu
2012/5/9 Robert Bradshaw :
> On Wed, May 9, 2012 at 6:33 AM, Stefan Behnel wrote:
>> mark florisson, 09.05.2012 15:18:
>>> On 9 May 2012 14:16, Vitja Makarov wrote:
from cython cimport typeof
def foo(float[::1] a):
b = a
#del b
print typeof(b)
print t
Hi,
when declaring a C function in pure mode, you eventually end up with this:
@cython.cfunc
@cython.returns(cython.bint)
@cython.locals(a=cython.int, b=cython.int, c=cython.int)
def c_compare(a,b):
c = 5
return a == b + c
That is very verbose, making it hard to f
2012/5/9 Vitja Makarov :
> 2012/5/9 Stefan Behnel :
>> Vitja Makarov, 09.05.2012 18:31:
>>> Del statement inference enabled pyregr.test_descr testcase and it SIGSEGVs.
>>> Here is minimal example:
>>>
>>> import unittest
>>> import sys
>>>
>>> class Foo(unittest.TestCase):
>>> def test_file_fau
On 10 May 2012 08:37, Dag Sverre Seljebotn wrote:
> On 05/09/2012 09:08 PM, mark florisson wrote:
>>
>> On 9 May 2012 19:56, Robert Bradshaw wrote:
>>>
>>> On Tue, May 8, 2012 at 3:35 AM, mark florisson
>>> wrote:
On 8 May 2012 10:47, Dag Sverre Seljebotn
wrote:
>
>
On 10 May 2012 08:27, Vitja Makarov wrote:
> 2012/5/10 Stefan Behnel :
>> Vitja Makarov, 08.05.2012 15:47:
>>> 2012/5/8 Stefan Behnel:
Vitja has rebased the type inference on the control flow, so I wonder if
this will enable us to properly infer this:
def partial_validity():
>
On 05/09/2012 09:08 PM, mark florisson wrote:
On 9 May 2012 19:56, Robert Bradshaw wrote:
On Tue, May 8, 2012 at 3:35 AM, mark florisson
wrote:
On 8 May 2012 10:47, Dag Sverre Seljebotn wrote:
After some thinking I believe I can see more clearly where Mark is coming
from. To sum up, it's
2012/5/10 Stefan Behnel :
> Vitja Makarov, 08.05.2012 15:47:
>> 2012/5/8 Stefan Behnel:
>>> Vitja has rebased the type inference on the control flow, so I wonder if
>>> this will enable us to properly infer this:
>>>
>>> def partial_validity():
>>> """
>>> >>> partial_validity()
>>> ('Pyt
14 matches
Mail list logo