[PyPy-issue] [issue539] stackless - Execution frames in a module inside a package are not pickled correctly.
pypy-dev-issue at codespeak.net
Tue May 18 17:31:50 CEST 2010
New submission from Gabriel Lavoie <glavoie at mutehq.net>:
When a Stackles tasklet is pickled when the execution state is in a function of
a module inside a package, the wrong namespace is saved for the frame. The
namespace of the package is saved instead of the namespace of the module. After
unpickling, if the function needs global variables of the module, the variable
won't be accessible anymore.
Here's a test to show the problem.
nosy: pypy-issue, wildchild
title: stackless - Execution frames in a module inside a package are not pickled correctly.
PyPy development tracker <pypy-dev-issue at codespeak.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1914 bytes
Desc: not available
More information about the Pypy-issue