Re: How to deal with a block of memory when pickling?
Simon King <[email protected]>
| Newsgroups | gmane.comp.python.pyrex,gmane.comp.python.cython.devel |
|---|---|
| Message-ID | <[email protected]> |
Dear Robert, On Thu, 20 Mar 2008, Robert Bradshaw wrote: > >What can i do? > > Use the PyString_FromStringAndSize function. (Otherwise it assumes a null > character is the end of the string, per C convention.) Thank you very much! Cheers Simon