Sorry, I found that's a bug of the code.
In some cases, char* buffer was free by accident before passing to
pypy_execute_source().

On Thu, May 14, 2015 at 4:21 PM, Armin Rigo <ar...@tunes.org> wrote:

> Hi Yicong,
>
> On 12 May 2015 at 11:48, Yicong Huang <hengha....@gmail.com> wrote:
> > The program I wrote is simple: it read python code from a local file to
> > char*, and pass char* to pypy_execute_source().
>
> It works for us, so please give a complete example: ideally, a C
> program that can show the problem when executed (including the Python
> source file if it's not embedded in the C program).  Maybe it is an
> issue with the encoding of the file not being recognized only in
> "pypy_execute_source"?  But that's just a guess.
>
>
> A bientôt,
>
> Armin.
>
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to