-
10k5Wrap any iterable context manager so it closes when consumedPython / contextmanager, context_manager, generator, iterable, iterator, with_statement / by Andrew Barnert (11 years ago)
-
10k2Decorator and context manager from a single APIPython / contextmanager, context_manager, decorator, decorators, with, with_statement / by Michael Foord (13 years ago, revision 12)
-
18k1ChangeDirectory context managerPython / change, chdir, context_manager, directory / by Christophe Simonis (15 years ago, revision 2)