summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_contextlib.py
Commit message (Expand)AuthorAgeFilesLines
* gh-103791: Make contextlib.suppress also act on exceptions within an Exceptio...Łukasz Langa2023-04-241-1/+26
* gh-95882: fix regression in the traceback of exceptions propagated from insid...Thomas Grainger2023-01-031-3/+27
* gh-92118: Add test for traceback when exception is modified by (Async)ExitSta...Irit Katriel2022-05-051-0/+36
* gh-92118: fix traceback of exceptions propagated from inside a contextlib.con...Irit Katriel2022-05-041-0/+27
* bpo-46425: Fix direct invocation of `test_contextlib` (GH-30681)Nikita Sobolev2022-01-211-4/+10
* bpo-25625: add contextlib.chdir (GH-28271)Filipe Laíns2021-10-191-0/+43
* bpo-44594: fix (Async)ExitStack handling of __context__ (gh-27089)John Belmonte2021-10-041-0/+34
* bpo-44515: handle non-refcounted GC in contextlib tests (GH-26910)Nick Coghlan2021-07-261-0/+2
* bpo-44566: resolve differences between asynccontextmanager and contextmanager...Thomas Grainger2021-07-201-10/+13
* bpo-44471: Change error type for bad objects in ExitStack.enter_context() (GH...Serhiy Storchaka2021-06-291-1/+22
* bpo-12022: Change error type for bad objects in "with" and "async with" (GH-2...Serhiy Storchaka2021-06-291-2/+2
* bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25145)Inada Naoki2021-04-041-2/+2
* bpo-40275: Use new test.support helper submodules in tests (GH-21412)Hai Shi2020-07-091-1/+2
* [3.9] bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-12620)Serhiy Storchaka2019-06-051-2/+2
* bpo-36492: Deprecate passing some arguments as keyword arguments. (GH-12637)Serhiy Storchaka2019-04-011-0/+11
* bpo-35202: Remove unused imports in Lib directory (GH-10450)Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి)2018-11-151-1/+0
* bpo-30306: release arguments of contextmanager (GH-1500)Martin Teichmann2018-01-281-0/+47
* bpo-29302: Implement contextlib.AsyncExitStack. (#4790)Ilya Kulakov2018-01-251-34/+38
* bpo-10049: Add a "no-op" (null) context manager to contextlib (GH-4464)Jesse-Bakker2017-11-231-0/+10
* bpo-31370: Remove support for threads-less builds (#3385)Antoine Pitrou2017-09-071-5/+1
* bpo-30266: support "= None" pattern in AbstractContextManager (#1448)Jelle Zijlstra2017-06-091-0/+10
* bpo-29692: contextlib.contextmanager may incorrectly unchain RuntimeError (GH...svelankar2017-04-111-0/+23
* Added more tests for issue #27122.Serhiy Storchaka2016-06-201-5/+11
|\
| * Added more tests for issue #27122.Serhiy Storchaka2016-06-201-5/+11
* | Issue #27123: When an exception is raised within the context beingGregory P. Smith2016-06-141-0/+28
|\ \ | |/
| * Issue #27123: When an exception is raised within the context beingGregory P. Smith2016-06-141-0/+28
* | Issue #25609: Introduce contextlib.AbstractContextManager andBrett Cannon2016-04-081-0/+33
* | Issue #26136: Upgrade the generator_stop warning to DeprecationWarningMartin Panter2016-02-101-1/+1
|/
* Issue #25322: Merge contextlib.suppress test fix from 3.4 into 3.5Martin Panter2015-10-101-1/+3
|\
| * Issue #25322: Fix test for nested contextlib.suppressMartin Panter2015-10-101-1/+3
* | Issue #24336: The contextmanager decorator now works with functions withSerhiy Storchaka2015-06-281-0/+8
|\ \ | |/
| * Issue #24336: The contextmanager decorator now works with functions withSerhiy Storchaka2015-06-281-0/+8
* | Issue 24237: Raise PendingDeprecationWarning per PEP 479Yury Selivanov2015-05-221-2/+4
* | PEP 479: Change StopIteration handling inside generators.Yury Selivanov2015-05-091-0/+34
* | Issue #22389: Add contextlib.redirect_stderr().Berker Peksag2014-11-281-21/+37
|/
* Merge removal of issue 20317 debugging code from 3.3Nick Coghlan2014-01-241-10/+48
|\
| * Issue 20317: Remove debugging code from contextlibNick Coghlan2014-01-241-10/+48
* | Merge #20317 from 3.3Nick Coghlan2014-01-221-0/+23
|\ \ | |/
| * Issue #20317: Don't create a reference loop in ExitStackNick Coghlan2014-01-221-0/+23
* | Close #19403: make contextlib.redirect_stdout reentrantNick Coghlan2013-11-031-7/+17
* | Issue #19330: Handle the no-docstrings case in testsNick Coghlan2013-10-261-16/+12
* | Close #19330 by using public classes in contextlibNick Coghlan2013-10-261-5/+58
* | Close #19396: make test_contextlib tolerate -SNick Coghlan2013-10-261-3/+4
* | contextlib doc updates and refactoringNick Coghlan2013-10-191-4/+44
* | Close #19266: contextlib.ignore -> contextlib.suppressNick Coghlan2013-10-171-14/+14
* | Rename contextlib.ignored() to contextlib.ignore().Raymond Hettinger2013-10-111-5/+5
* | Issue #15805: Add contextlib.redirect_stdout()Raymond Hettinger2013-10-101-0/+9
* | Merge #19092 from 3.3Nick Coghlan2013-10-011-0/+37
|\ \ | |/
| * Close #19092: ExitStack now reraises exceptions from __exit__Nick Coghlan2013-10-011-0/+37
* | Update various test modules to use unittest.main() for test discoveryBrett Cannon2013-06-131-5/+1