Issue 15153: Add inspect.getgeneratorlocals - Python tracker (original) (raw)

Issue15153

Created on 2012-06-23 09:19 by ncoghlan, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (3)
msg163560 - (view) Author: Alyssa Coghlan (ncoghlan) * (Python committer) Date: 2012-06-23 09:19
Extracted from #13062, the proposal is add a simple API to inspect the local variables of a generator with an associated frame.
msg163561 - (view) Author: Alyssa Coghlan (ncoghlan) * (Python committer) Date: 2012-06-23 09:22
The intended use case is for whitebox testing of generator behaviour.
msg163567 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2012-06-23 09:52
New changeset dd82a910eb07 by Nick Coghlan in branch 'default': Close #15153: Added inspect.getgeneratorlocals to simplify whitebox testing of generator state updates http://hg.python.org/cpython/rev/dd82a910eb07
History
Date User Action Args
2022-04-11 14:57:31 admin set github: 59358
2012-06-23 09:52:26 python-dev set status: open -> closednosy: + python-devmessages: + resolution: fixedstage: needs patch -> resolved
2012-06-23 09:22:21 ncoghlan set messages: +
2012-06-23 09:19:49 ncoghlan create