Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
super() within generation function not properly parsed #3246
I can import teapot in the interactive python:
But after I cythonize -X language_level=3 -i teapot.py, and start a python interactive session, and import teapot, the interactive session quits directly. After I changed from super() to super(ABC, self), it works.
Name Version Build Channel
cython 0.29.10 py37h6538335_0 conda-forge
python 3.7.4 h5263a28_0
Code reproduced with correct formatting and simplified slightly:
This generates a segmentation fault. The issue seems to be in the C function
I'm not sure I can make any more progress, but this is the start of the diagnosis.