STINNER Victor added the comment:

I may be safer to initialize f->f_executing to 1 at the creation of the frame, 
and only change its value to 0 when the execution is done. (The name of the 
attribute may also be changed.) I don't know if it is possible, but a frame 
should not be cleared just before it is used to execute code.

----------
nosy: +haypo

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17934>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to