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
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