On Jan 22, 8:47 pm, Jeff McNeil wrote:
> What are you trying to accomplish?
On Jan 22, 8:47 pm, Jeff McNeil wrote:
> What are you trying to accomplish? While it's possible to do, I can't
> believe it's going to be very safe.
I am trying to implement a completely new concurrency abstraction
On Jan 22, 9:49 am, sturlamolden wrote:
> frame = sys._getframe().f_back is the previous stack frame. Is there
> any way to execute (with exec or eval) frame.f_code beginning from
> frame.f_lasti or frame.f_lineno?
>
> I am trying to spawn a thread that is initialized with the code and
> state of
frame = sys._getframe().f_back is the previous stack frame. Is there
any way to execute (with exec or eval) frame.f_code beginning from
frame.f_lasti or frame.f_lineno?
I am trying to spawn a thread that is initialized with the code and
state of the previous stack frame.
S.M.
--
http://mail.py