Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cython fails to import utility code on cython.view cimport #1502

Closed
robertwb opened this issue Oct 26, 2016 · 1 comment
Closed

Cython fails to import utility code on cython.view cimport #1502

robertwb opened this issue Oct 26, 2016 · 1 comment
Milestone

Comments

@robertwb
Copy link
Contributor

Consider

from cython cimport view

def get_data():
    cdef view.array my_array = view.array(shape=(10, 2), itemsize=sizeof(int), format="i")
    return my_array
@robertwb
Copy link
Contributor Author

Seems to have been introduced at 1d7072f

If the features of cython.view.array are used, the code gets cimported as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant