Thank you. I'll try it out tomorrow.
I just found another problem in the same area. The same caveat applies for this one too (i.e I don't know if it is a known limitation or not, so please bare with me).
If you define a simple module test.py, like this:
def foo(arg):
print arg
And you call it like this from another module in CPython 2.7
import test
d = {"arg": "Hello World!"}
test.foo(**d)
You get the result:
Hello World!
However, if you compile test.py with Cython, and call it in the same way, you get:
TypeError: foo() takes no keyword arguments
A simple workaround is probably to make 'arg' a keyword argument (haven't tried it), but this does not seem to be in line with how CPython works.
-- Jan Flyborg