Vitja Makarov, 23.07.2012 07:13:
> Here is part of original testcase:
>
> from cython.operator cimport dereference as d
> from cython.operator cimport preincrement as incr
> from libcpp.vector cimport vector
>
> def reverse_iteration_test(L):
> v = new vector[int]()
> for a in L:
>
Stefan Behnel, 24.07.2012 12:43:
> Vitja Makarov, 23.07.2012 07:13:
>> Here is part of original testcase:
>>
>> from cython.operator cimport dereference as d
>> from cython.operator cimport preincrement as incr
>> from libcpp.vector cimport vector
>>
>> def reverse_iteration_test(L):
>> v = new
2012/7/24 Stefan Behnel :
> Stefan Behnel, 24.07.2012 12:43:
>> Vitja Makarov, 23.07.2012 07:13:
>>> Here is part of original testcase:
>>>
>>> from cython.operator cimport dereference as d
>>> from cython.operator cimport preincrement as incr
>>> from libcpp.vector cimport vector
>>>
>>> def rever
Vitja Makarov, 24.07.2012 14:48:
> 2012/7/24 Stefan Behnel:
>> Stefan Behnel, 24.07.2012 12:43:
>>> Vitja Makarov, 23.07.2012 07:13:
Here is part of original testcase:
from cython.operator cimport dereference as d
from cython.operator cimport preincrement as incr
from libcp
2012/7/24 Stefan Behnel :
> Vitja Makarov, 24.07.2012 14:48:
>> 2012/7/24 Stefan Behnel:
>>> Stefan Behnel, 24.07.2012 12:43:
Vitja Makarov, 23.07.2012 07:13:
> Here is part of original testcase:
>
> from cython.operator cimport dereference as d
> from cython.operator cimport p
Vitja Makarov, 24.07.2012 18:42:
> 2012/7/24 Stefan Behnel:
>> Vitja Makarov, 24.07.2012 14:48:
>>> 2012/7/24 Stefan Behnel:
Stefan Behnel, 24.07.2012 12:43:
> Vitja Makarov, 23.07.2012 07:13:
>> Here is part of original testcase:
>>
>> from cython.operator cimport dereference
Hello All,
The exact behavior of array assignment was never entirely clear to me,
but I am certain the following behavior did not occur in 0.16:
bug.pyx--
def foo():
cdef int i
cdef int* p1 = [4, 4]
cdef int* p2 = [5, 5]
print "p1:",
fo
Hi,
thanks for the report.
Mike Zaletel, 25.07.2012 00:40:
> The exact behavior of array assignment was never entirely clear to me
Yes, it's not entirely obvious.
> but I am certain the following behavior did not occur in 0.16:
>
> bug.pyx--
>
> def foo():
>cdef int i
Stefan Behnel, 25.07.2012 07:40:
> Mike Zaletel, 25.07.2012 00:40:
>> bug.pyx--
>> def foo():
>>cdef int i
>>cdef int* p1 = [4, 4]
>>cdef int* p2 = [5, 5]
>>
>>print "p1:",
>>for i in range(2):
>>print p1[i],
>>print "\
Stefan Behnel, 25.07.2012 07:40:
> Mike Zaletel, 25.07.2012 00:40:
>> bug.pyx--
>>
>> def foo():
>>cdef int i
>>cdef int* p1 = [4, 4]
>>cdef int* p2 = [5, 5]
>>
>>print "p1:",
>>for i in range(2):
>>print p1[i],
>>print
10 matches
Mail list logo