- write a decorator that would allow the function to read its arguments from stdin and write what ever it returns to stdout.
- save the decorated function to a file, and compile it with shed skin
- call the resulting executable with os.popen, passing the arguments and receiving the output of the function.
I any case I am still sticking to my wish, hoping for suggestions of how to make it happen.
According to Mark Dufour, Shed Skin's developer, there is somebody working on using boost.python to wrap SS generated C++ code. That would be something very nice, but not as much as having a @skinner decorator.