Mailing List Archive

[issue13062] Introspection generator and function closure state
Changes by Nick Coghlan <ncoghlan@gmail.com>:


----------
assignee: -> ncoghlan

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue13062>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue13062] Introspection generator and function closure state [ In reply to ]
Meador Inge <meadori@gmail.com> added the comment:

I didn't get around to updating my patch with Nick's comments yet.

Nick, the v3 patch I have attached still applies. I am happy to update it per your comments (promptly this time) or you can take it over. Whichever.

----------

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue13062>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue13062] Introspection generator and function closure state [ In reply to ]
Nick Coghlan <ncoghlan@gmail.com> added the comment:

Meador: I probably won't get to this until the weekend, so go ahead and update the patch if you have time.

----------

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue13062>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue13062] Introspection generator and function closure state [ In reply to ]
Nick Coghlan <ncoghlan@gmail.com> added the comment:

Attached patch implements both new functions, but I'm going to drop getgeneratorlocals for now and move that idea to a new issue.

----------
Added file: http://bugs.python.org/file26103/issue13062-combined.diff

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue13062>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue13062] Introspection generator and function closure state [ In reply to ]
Nick Coghlan <ncoghlan@gmail.com> added the comment:

I created #15153 to cover getgeneratorlocals. Attached patch is just for record keeping purposes - I'll be committing this change shortly.

----------
Added file: http://bugs.python.org/file26104/issue13062-getclosurevars.diff

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue13062>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue13062] Introspection generator and function closure state [ In reply to ]
Roundup Robot <devnull@psf.upfronthosting.co.za> added the comment:

New changeset 487fe648de56 by Nick Coghlan in branch 'default':
Close #13062: Add inspect.getclosurevars to simplify testing stateful closures
http://hg.python.org/cpython/rev/487fe648de56

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

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