summaryrefslogtreecommitdiff
path: root/Lib/contextlib.py
AgeCommit message (Expand)AuthorLines
2019-06-01bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700)Serhiy Storchaka-4/+2
2019-05-06bpo-36542: Allow to overwrite the signature for Python functions. (GH-12705)Serhiy Storchaka-0/+2
2019-04-01bpo-36492: Deprecate passing some arguments as keyword arguments. (GH-12637)Serhiy Storchaka-4/+36
2018-06-07bpo-33786: Fix asynchronous generators to handle GeneratorExit in athrow() (G...Yury Selivanov-1/+1
2018-04-13bpo-33265: use an actual method instead of a method-like function in ExitStac...jdemeyer-8/+3
2018-01-28bpo-30306: release arguments of contextmanager (GH-1500)Martin Teichmann-0/+3
2018-01-25bpo-29302: Implement contextlib.AsyncExitStack. (#4790)Ilya Kulakov-46/+205
2017-12-13bpo-30241: implement contextlib.AbstractAsyncContextManager (#1412)Jelle Zijlstra-2/+25
2017-11-23bpo-10049: Add a "no-op" (null) context manager to contextlib (GH-4464)Jesse-Bakker-1/+22
2017-06-09bpo-30266: support "= None" pattern in AbstractContextManager (#1448)Jelle Zijlstra-3/+2
2017-04-30bpo-29679: Implement @contextlib.asynccontextmanager (#360)Jelle Zijlstra-6/+93
2017-04-11bpo-29692: contextlib.contextmanager may incorrectly unchain RuntimeError (GH...svelankar-6/+6
2017-03-01Clarify exception handler scope in contextlibamosonn-1/+2
2017-02-12bpo-27122: Fix comment to point to correct issue number (#47)Nathaniel J. Smith-1/+1
2016-06-14Issue #27123: When an exception is raised within the context beingGregory P. Smith-0/+3
2016-06-14Issue #27123: When an exception is raised within the context beingGregory P. Smith-0/+3
2016-04-08Normalize whitespaceBrett Cannon-1/+1
2016-04-08Issue #25609: Introduce contextlib.AbstractContextManager andBrett Cannon-11/+31
2015-06-28Issue #24336: The contextmanager decorator now works with functions withSerhiy Storchaka-3/+3
2015-06-28Issue #24336: The contextmanager decorator now works with functions withSerhiy Storchaka-3/+3
2015-05-09PEP 479: Change StopIteration handling inside generators.Yury Selivanov-2/+9
2014-11-28Issue #22389: Add contextlib.redirect_stderr().Berker Peksag-13/+27
2014-01-24Merge removal of issue 20317 debugging code from 3.3Nick Coghlan-3/+1
2014-01-24Issue 20317: Remove debugging code from contextlibNick Coghlan-3/+1
2014-01-22Merge #20317 from 3.3Nick Coghlan-1/+9
2014-01-22Issue #20317: Don't create a reference loop in ExitStackNick Coghlan-1/+9
2013-11-03Close #19403: make contextlib.redirect_stdout reentrantNick Coghlan-8/+4
2013-10-26Close #19330 by using public classes in contextlibNick Coghlan-41/+39
2013-10-20contextlib doc updates and refactoringNick Coghlan-28/+51
2013-10-17Close #19266: contextlib.ignore -> contextlib.suppressNick Coghlan-4/+4
2013-10-10Rename contextlib.ignored() to contextlib.ignore().Raymond Hettinger-3/+3
2013-10-10Issue #15805: Add contextlib.redirect_stdout()Raymond Hettinger-1/+39
2013-10-01Merge #19092 from 3.3Nick Coghlan-3/+15
2013-10-01Close #19092: ExitStack now reraises exceptions from __exit__Nick Coghlan-3/+15
2013-08-17#18705: merge with 3.3.Ezio Melotti-1/+1
2013-03-10Issue #15806: Add contextlib.ignored().Raymond Hettinger-1/+13
2012-12-18Issue #16714: use 'raise' exceptions, don't 'throw'.Andrew Svetlov-1/+1
2012-06-01Close #14969: Improve the handling of exception chaining in contextlib.ExitStackNick Coghlan-3/+13
2012-06-01Close #14963: Use an iterative algorithm in contextlib.ExitStack.__exit__ (Pa...Nick Coghlan-26/+15
2012-05-21Close #13585: add contextlib.ExitStack to replace the ill-fated contextlib.ne...Nick Coghlan-5/+121
2011-06-28remove unused imports (closes #12432)Benjamin Peterson-1/+0
2011-05-06Remove trailing whitespaceNick Coghlan-2/+2
2011-05-05Issue #11647: allow contextmanager objects to be used as decorators as descri...Nick Coghlan-4/+24
2011-01-08Issue #10859: Make `contextlib.GeneratorContextManager` officiallyAntoine Pitrou-2/+2
2010-06-30Issue 9110. Adding ContextDecorator to contextlib. This enables the creation ...Michael Foord-2/+13
2009-07-01remove nested from __all__Benjamin Peterson-1/+1
2009-07-01Removed contextlib.nested()Raymond Hettinger-45/+0
2009-06-23Merged revisions 73518-73519 via svnmerge fromNick Coghlan-10/+8
2009-06-10Issue 6256: Fix stacklevel in warning message.Raymond Hettinger-1/+1
2009-05-28Deprecate contextlib.nested(). The with-statement now provides this function...Raymond Hettinger-0/+3