-
10k5Wrap any iterable context manager so it closes when consumedPython / contextmanager, context_manager, generator, iterable, iterator, with_statement / by Andrew Barnert (11 years ago)
-
20k2Handle exit context managerPython / atexit, contextlib, contextmanager, exit, python, python3, shutdown, sigint, signal, sigterm / by Giampaolo RodolĂ (9 years ago, revision 23)
-
10k2Context manager for low-level redirection of stdout/stderrPython / contextmanager, context_manager, f2py, fortran, python, redirect, stdout / by Greg Haskins (12 years ago, revision 3)
-
10k2Decorator and context manager from a single APIPython / contextmanager, context_manager, decorator, decorators, with, with_statement / by Michael Foord (13 years ago, revision 12)
-
10k2Simple lock-queue via MemcachedPython / concurrency, contextmanager, lock, locking, memcache, memcached, queue / by Tal Einat (15 years ago)
-
11k0Use PDFWriter with context manager supportPython / contextmanager, context_manager, pdf, python, reportlab, with_statement, xtopdf / by Vasudev Ram (10 years ago)