summaryrefslogtreecommitdiff
path: root/tests/memoryview/memoryview_cache_builtins.srctree
blob: 91b1c4753710d5f8996c33b960183ef54af0e387 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
PYTHON setup.py build_ext --inplace

################ setup.py #####################

from distutils.core import setup
from Cython.Build import cythonize
from Cython.Compiler import Options

Options.cache_builtins = False

setup(
    ext_modules = cythonize("mview.pyx")
)

############### mview.pyx ################

# https://github.com/cython/cython/issues/3406
# Failure was at Cython compilation stage

def f(double [::1] x):
    pass