Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add inspect.getgeneratorlocals #59358

Closed
ncoghlan opened this issue Jun 23, 2012 · 3 comments
Closed

Add inspect.getgeneratorlocals #59358

ncoghlan opened this issue Jun 23, 2012 · 3 comments
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@ncoghlan
Copy link
Contributor

BPO 15153
Nosy @ncoghlan

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2012-06-23.09:52:26.337>
created_at = <Date 2012-06-23.09:19:49.656>
labels = ['type-feature', 'library']
title = 'Add inspect.getgeneratorlocals'
updated_at = <Date 2012-06-23.09:52:26.148>
user = 'https://github.com/ncoghlan'

bugs.python.org fields:

activity = <Date 2012-06-23.09:52:26.148>
actor = 'python-dev'
assignee = 'none'
closed = True
closed_date = <Date 2012-06-23.09:52:26.337>
closer = 'python-dev'
components = ['Library (Lib)']
creation = <Date 2012-06-23.09:19:49.656>
creator = 'ncoghlan'
dependencies = []
files = []
hgrepos = []
issue_num = 15153
keywords = []
message_count = 3.0
messages = ['163560', '163561', '163567']
nosy_count = 2.0
nosy_names = ['ncoghlan', 'python-dev']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue15153'
versions = ['Python 3.4']

@ncoghlan
Copy link
Contributor Author

Extracted from bpo-13062, the proposal is add a simple API to inspect the local variables of a generator with an associated frame.

@ncoghlan ncoghlan added stdlib Python modules in the Lib dir type-feature A feature request or enhancement labels Jun 23, 2012
@ncoghlan
Copy link
Contributor Author

The intended use case is for whitebox testing of generator behaviour.

@python-dev
Copy link
Mannequin

python-dev mannequin commented Jun 23, 2012

New changeset dd82a910eb07 by Nick Coghlan in branch 'default':
Close bpo-15153: Added inspect.getgeneratorlocals to simplify whitebox testing of generator state updates
http://hg.python.org/cpython/rev/dd82a910eb07

@python-dev python-dev mannequin closed this as completed Jun 23, 2012
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

1 participant