Closed Dapid closed 1 year ago
The backtrace isn't very illuminating for me, but maybe it will give you a hint:
https://gist.github.com/Dapid/989e12bef7702b85b3439f2bddb3d897
Ahhh, this Jack, he's always lurking around :-) I'll have a look. Thanks for reporting!
# pythran export f
should be
# pythran export f()
that solves the second issue, not the first (but we should warn about this, exporting a function as a global variable is not allowed)
Hey Dapid, can you tell me if #2088 fixes both the incorrect annotation and the original issue? Thanks!
It does, thank you!
This works in Python, but sends Pythran calling for Jack:
This modification compiles successfully:
but coredumps when importing it.
It is odd because this is the Python version pythran spits out: