Skip to content

BUG: Fix/workaround for #6719 #6720

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

Closed

Conversation

gerritholl
Copy link
Contributor

numpy/random/mtrand/mtrand.pyx contains a line where cython fails to
compile, complaining “Pythonic division not allowed without gil”. By
passing '--directive cdivision=true' to cython, it can compile again.

numpy/random/mtrand/mtrand.pyx contains a line where cython fails to
compile, complaining “Pythonic division not allowed without gil”.  By
passing '--directive cdivision=true' to cython, it can compile again.
@charris
Copy link
Member

charris commented Nov 25, 2015

I'm more inclined to make the change local.

@charris
Copy link
Member

charris commented Nov 25, 2015

Try adding cdivision(True) to the with statement wrapping the problem code section.

@charris
Copy link
Member

charris commented Nov 25, 2015

@rkern Thoughts?

@rkern
Copy link
Member

rkern commented Nov 25, 2015

Let's explore the "Cython 0.23.2 is buggy" possibility first.

@gerritholl
Copy link
Contributor Author

@charris I implemented an alternative solution as in Pull Request #6721, according to your suggestion.

@charris
Copy link
Member

charris commented Nov 25, 2015

I'm going to close this PR in favor of #6721..

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

Successfully merging this pull request may close these issues.

3 participants