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.

Unsupported provider

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 2022-04-11 14:57 by admin. 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) (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:31adminsetgithub: 59358
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