Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[issue15153] Add inspect.getgeneratorlocals

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

Jun 23, 2012, 2:19 AM

Post #1 of 3 (66 views)
Permalink
[issue15153] Add inspect.getgeneratorlocals

New submission from Nick Coghlan <ncoghlan [at] gmail>:

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

----------
components: Library (Lib)
messages: 163560
nosy: ncoghlan
priority: normal
severity: normal
stage: needs patch
status: open
title: Add inspect.getgeneratorlocals
type: enhancement
versions: Python 3.4

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue15153>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Jun 23, 2012, 2:22 AM

Post #2 of 3 (66 views)
Permalink
[issue15153] Add inspect.getgeneratorlocals [In reply to]

Nick Coghlan <ncoghlan [at] gmail> added the comment:

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

----------

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue15153>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Jun 23, 2012, 2:52 AM

Post #3 of 3 (62 views)
Permalink
[issue15153] Add inspect.getgeneratorlocals [In reply to]

Roundup Robot <devnull [at] psf> added the comment:

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

----------
nosy: +python-dev
resolution: -> fixed
stage: needs patch -> committed/rejected
status: open -> closed

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue15153>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.