[pypy-dev] Converting from Python strings to C strings slow?

Maciek Fijalkowski fijal at genesilico.pl
Fri Jan 25 22:45:35 CET 2008


> Thanks, but I'm not trying to write a standalone program, I need to 
> call some 3rd party libraries.  For example, the string comes from one 
> of a couple dozen of socket connections, managed by Twisted.  So I 
> just want my inner loop in RPython.  The inner loop turns XML into a 
> MySQL statement, which the main python program can then send to a 
> database.
You can do it that way, true. But it's pretty unofficial and 
unsupported. Also you can only pass very simple types (ie list or dict 
will not work).
>
> Am I specifying it wrong?
>
You're using too old version (you should just check it out from svn)

:.




More information about the Pypy-dev mailing list