On Jul 20, 2008, at 5:12 PM, Greg Ewing wrote: > Dag Sverre Seljebotn wrote: >> Just realized that a dynamic typestring could be generated at module >> load time, which should be perfectly unnoticeable. So this might >> be the >> way to go.
I like this idea. Alternatively, one could pass an actual long (say) into the PyArg_ParseTupleAndKeywords parameter list, and then cast the result, but I like your idea better. > A simpler approach would be to disallow the use of > typedefed types to declare arguments to Python functions, > and require the use of explicit C types. I fear this would be a step backwards in usability... - Robert _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
