You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a git bisection, it seems the crash appeared in ee7ae0b. Reverting the aforementioned commit fixes this specific issue (see attached patch). patch.txt
cphyc
added a commit
to cphyc/cython
that referenced
this issue
Jul 27, 2021
Interesting. Thanks for reporting this. I was sure that default arguments are tested, but yeah, the usage in a method of an extension type might not be.
Describe the bug
The cython compiler crashes when analysing a class method that has a memory view with a default
None
value with the following tracebackTo Reproduce
Minimal code to reproduce the behaviour:
Note that the compiler properly handles the following
Expected behavior
The code should compile fine.
Environment (please complete the following information):
Additional information:
The traceback above is with Python 3.9.5 and Cython 3.0.0a9.
The text was updated successfully, but these errors were encountered: