-
11kviews0Use PDFWriter with context manager supportscorePython / contextmanager, context_manager, pdf, python, reportlab, with_statement, xtopdf / by Vasudev Ram (10 years ago)
-
10kviews5Wrap any iterable context manager so it closes when consumedscorePython / contextmanager, context_manager, generator, iterable, iterator, with_statement / by Andrew Barnert (11 years ago)
-
20kviews2Handle exit context managerscorePython / atexit, contextlib, contextmanager, exit, python, python3, shutdown, sigint, signal, sigterm / by Giampaolo RodolĂ (9 years ago, revision 23)
-
10kviews2Context manager for low-level redirection of stdout/stderrscorePython / contextmanager, context_manager, f2py, fortran, python, redirect, stdout / by Greg Haskins (12 years ago, revision 3)
-
10kviews2Decorator and context manager from a single APIscorePython / contextmanager, context_manager, decorator, decorators, with, with_statement / by Michael Foord (13 years ago, revision 12)
-
10kviews2Simple lock-queue via MemcachedscorePython / concurrency, contextmanager, lock, locking, memcache, memcached, queue / by Tal Einat (15 years ago)