STINNER Victor added the comment:

I fixed the most obvious issue in the documentation. I don't know the function 
enough to propose a better documentation, sorry.

Don't hesitate to write a patch on the documentation if you have a better 
explanation of how get_stack() behaves.

It is correct that get_stack() only returns 1 frame if the task is suspended, 
whereas it returns more frames if get_stack() is called while the task is 
running.

----------

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

Reply via email to