Follow following generates the C error:
error: expected identifier before ‘)’ token
2442 | #pragma omp parallel private() firstprivate(__pyx_t_1) private(__pyx_filename, __pyx_lineno, __pyx_clineno) shared(__pyx_parallel_why, __pyx_parallel_exc_type, __pyx_parallel_exc_value, __pyx_parallel_exc_tb)`
Specifically the issue is private(). I think we just need to skip generating it when there's an empty list.
from cython.parallel import parallel def parallelxxx(): with nogil, parallel(): with gil: s = object()
Compilation
Linux
No response
current master
No response
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()