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 r.david.murray
Recipients docs@python, r.david.murray
Date 2014-09-24.00:51:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1411519909.22.0.512722932689.issue22475@psf.upfronthosting.co.za>
In-reply-to
Content
The get_stack method docs say:

"If the coroutine is active, returns the stack where it was suspended."

I presume this means something more like "if the coroutine is not done...", since in English you can't be both active *and* suspended.  Or does it mean "last suspended"?

Then it talks about limit and how stacks limit returns newest frames while with tracebacks it is oldest frames...but the last sentence says that for suspended coroutines only one frame is returned.

So there is a definite lack of clarity here: can we get multiple frames if the coroutine is not suspended (in which case that first sentence seems likely to be the 'last suspended' interpretation), or for non-tracebacks can we only ever get one frame, in which case why talk about limit returning the newest frames for stacks?
History
Date User Action Args
2014-09-24 00:51:49r.david.murraysetrecipients: + r.david.murray, docs@python
2014-09-24 00:51:49r.david.murraysetmessageid: <1411519909.22.0.512722932689.issue22475@psf.upfronthosting.co.za>
2014-09-24 00:51:48r.david.murraylinkissue22475 messages
2014-09-24 00:51:47r.david.murraycreate