[pypy-dev] pypy callback function pointer become invalid
Maciej Fijalkowski
fijall at gmail.com
Sun Aug 16 09:42:02 CEST 2015
On Sun, Aug 16, 2015 at 6:12 AM, Yicong Huang <hengha.mao at gmail.com> wrote:
> Thanks for reminding!
> I looked at the code, and observed the gloal new dict might leak memory.
>
> Calling pypy_execute_source_ptr() multiple times might be a common usage:
> you might have several python files to execute, or you might get python code
> segment from input one by one ...
> I am thinking could we have better ways to do such calls, e.g.:
That use case is much better handled from python (e.g. using exec() or
import or any other way to execute more python code)
More information about the pypy-dev
mailing list