Re: [Cython] Strange bug? with np.int64_t

2014-11-03 Thread Stefan Behnel
Patrick Snape schrieb am 15.10.2014 um 20:27: > To reproduce: > > # distutils: language = c++ > import numpy as np > cimport numpy as np > cimport cython > > > cdef test_np_int64(const np.int64_t test_var): > cdef np.int64_t error = test_var / 2 > > > This fails to

[Cython] [FEATURE REQUEST] VisualBasic "Option Explicit" / Perl "use strict" -- bringing variable pre-declaration to cython optionally

2014-11-03 Thread Zaxebo Yaxebo
Subject: [FEATURE REQUEST] VisualBasic "Option Explicit" / Perl "use strict" -- bringing variable pre-declaration to cython optionally === Background: already cython supports the following: #program1 a1 = cython.declare(cython.int) # cdef int