summaryrefslogtreecommitdiff
path: root/Lib/contextlib.py
AgeCommit message (Expand)AuthorLines
2021-10-04[3.10] bpo-44594: fix (Async)ExitStack handling of __context__ (gh-27089) (GH...John Belmonte-4/+4
2021-07-20bpo-44566: resolve differences between asynccontextmanager and contextmanager...Miss Islington (bot)-45/+59
2020-11-17bpo-42395: Add aclosing to __all__ (GH-23356)Tom Gringauz-1/+1
2020-11-09bpo-41543: contextlib.nullcontext can fill in for an async context manager (G...Tom Gringauz-1/+7
2020-11-05bpo-40816 Add AsyncContextDecorator class (GH-20516)Kazantcev Andrey-1/+24
2020-11-02bpo-41229: Update docs for explicit aclose()-required cases and add contextli...Joongi Kim-0/+26
2020-04-07bpo-39481: Implementation for PEP 585 (#18239)Guido van Rossum-1/+5
2019-06-05[3.9] bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-12620)Serhiy Storchaka-34/+2
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