1. Nick Coghlan
  2. contextlib2
  3. Issues
Issue #12 wontfix

Add pop() method to ExitStack?

Nick Coghlan
repo owner created an issue

The ExitStack API will include a pop_all() method to move all the callbacks to a fresh ExitStack instance.

Perhaps a pop() method should be offered to remove the innermost callback from the stack directly without invoking it?

Comments (5)

  1. Log in to comment