On 01/27/2015 05:38 PM, Richard Hansen wrote:
> Hi all,
>
> If I create foo.pyx with the following contents:
>
> cpdef object foo():
> cdef unsigned char[:] s = "012345"
> return s
>
> I notice the following behavior:
>
> $ python -c '
> import foo
> m=foo.foo()
> print repr(memoryview(
On 01/29/2015 05:14 AM, Richard Hansen wrote:
> On 01/27/2015 05:38 PM, Richard Hansen wrote:
>> Hi all,
>>
>> If I create foo.pyx with the following contents:
>>
>> cpdef object foo():
>> cdef unsigned char[:] s = "012345"
>> return s
>>
>> I notice the following behavior:
>>
>> $ python -