This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients docs@python, giampaolo.rodola, gvanrossum, pitrou, python-dev, r.david.murray, vstinner, yselivanov
Date 2014-12-02.17:04:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1417539863.33.0.388957988983.issue22475@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-12-02 17:04:23vstinnersetrecipients: + vstinner, gvanrossum, pitrou, giampaolo.rodola, r.david.murray, docs@python, python-dev, yselivanov
2014-12-02 17:04:23vstinnersetmessageid: <1417539863.33.0.388957988983.issue22475@psf.upfronthosting.co.za>
2014-12-02 17:04:23vstinnerlinkissue22475 messages
2014-12-02 17:04:23vstinnercreate