classification
Title: Add inspect.getgeneratorlocals
Type: enhancement Stage: resolved
Components: Library (Lib) Versions: Python 3.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: ncoghlan, python-dev
Priority: normal Keywords:

Created on 2012-06-23 09:19 by ncoghlan, last changed 2012-06-23 09:52 by python-dev. This issue is now closed.

Messages (3)
msg163560 - (view) Author: Nick 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: Nick 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) 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
2012-06-23 09:52:26python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg163567

resolution: fixed
stage: needs patch -> resolved
2012-06-23 09:22:21ncoghlansetmessages: + msg163561
2012-06-23 09:19:49ncoghlancreate