[issue32445] Skip creating redundant wrapper functions in ExitStack.callback

Nick Coghlan report at bugs.python.org
Tue Jan 2 02:13:01 EST 2018


Nick Coghlan <ncoghlan at gmail.com> added the comment:

Ah, you're right, I wasn't thinking clearly when I filed this - the correct public API method to transfer existing exit stack entries to a new stack would be "ExitStack.push()".

I'll make a note of that on the original issue.

----------
resolution:  -> not a bug
stage: needs patch -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32445>
_______________________________________


More information about the Python-bugs-list mailing list