Message119776
On Thu, Oct 28, 2010 at 10:55 PM, Antoine Pitrou <report@bugs.python.org> wrote:
>
> Antoine Pitrou <pitrou@free.fr> added the comment:
>
> Is it CPython-specific?
The states are not CPython-specific (they're logical states of the
underlying generator), but I don't know if other implementations
expose generator and frame details in the same way (all the more
reason to put this in inspect - other implementations can provide the
information without needing to exactly mimic gi_frame and f_lasti).
> Does "currently executing" also include "currently closing"?
"Currently executing" means the frame is being evaluated in a Python
thread (the thread running it may be suspended in a multi-threaded
environment, but the frame itself is in the middle of doing something,
which may include processing a thrown in GeneratorExit) |
|
Date |
User |
Action |
Args |
2010-10-28 13:05:10 | ncoghlan | set | recipients:
+ ncoghlan, pitrou |
2010-10-28 13:05:09 | ncoghlan | link | issue10220 messages |
2010-10-28 13:05:08 | ncoghlan | create | |
|