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
Why not use the signatures in pythran.tables.MODULES instead? They don't appear to know the names of their arguments, but – shouldn't they?
Also see GeneralCallNode.map_to_simple_call_node(), which does this transformation (for keyword arguments to C functions), so the main thing that you need is a Cython function type for the target signature.
Activity
serge-sans-paille commentedon Mar 4, 2018
cc @aguinet !
serge-sans-paille commentedon Jan 20, 2020
Got it! It's because of the keyword argument.
@scoder would that make sense to turn keyword argument into normal argument based on the
inspect.getfullargspecinformation for pythran candidates?scoder commentedon Jan 24, 2020
Why not use the signatures in
pythran.tables.MODULESinstead? They don't appear to know the names of their arguments, but – shouldn't they?Also see
GeneralCallNode.map_to_simple_call_node(), which does this transformation (for keyword arguments to C functions), so the main thing that you need is a Cython function type for the target signature.