COMMITS
/ Lib/test/test_contextlib.py April 28, 2026
A
gh-125862: Keep ContextDecorator open across generator/coroutine execution (GH-136212)
Alex Grönholm committed
February 4, 2026
S
gh-144386: Add support for descriptors in ExitStack and AsyncExitStack (#144420)
Serhiy Storchaka committed
May 22, 2025
S
gh-71339: Use new assertion methods in tests (GH-129046)
Serhiy Storchaka committed
September 23, 2024
A
Bump Ruff to 0.6.7 (#124384)
Alex Waygood committed
November 10, 2023
Z
gh-103791: handle `BaseExceptionGroup` in `contextlib.suppress()` (#111910)
Zac Hatfield-Dodds committed
November 4, 2023
N
gh-108303: Move `zip` and `tar` archives to `Lib/test/archivetestdata` (#111549)
Nikita Sobolev committed
October 20, 2023
S
Synchronize test_contextlib with test_contextlib_async (GH-111000)
Serhiy Storchaka committed
October 10, 2023
S
gh-110378: Close invalid generators in contextmanager and asynccontextmanager (GH-110499)
Serhiy Storchaka committed
July 20, 2023
I
gh-102799: use sys.exception() instead of sys.exc_info() in contextlib (#103311)
Irit Katriel committed
July 16, 2023
G
gh-105726: Add `__slots__` to `AbstractContextManager` and `AbstractAsyncContextManager` (#106771)
Grigoriev Semyon committed
April 24, 2023
Ł
January 3, 2023
May 5, 2022
May 4, 2022
January 21, 2022
N
bpo-46425: Fix direct invocation of `test_contextlib` (GH-30681)
Nikita Sobolev committed
October 19, 2021
F
bpo-25625: add contextlib.chdir (GH-28271)
Filipe Laíns committed
October 4, 2021
J
bpo-44594: fix (Async)ExitStack handling of __context__ (gh-27089)
John Belmonte committed
July 26, 2021
N
bpo-44515: handle non-refcounted GC in contextlib tests (GH-26910)
Nick Coghlan committed
July 20, 2021
T
bpo-44566: resolve differences between asynccontextmanager and contextmanager (#27024)
Thomas Grainger committed
June 29, 2021
S
bpo-44471: Change error type for bad objects in ExitStack.enter_context() (GH-26820)
Serhiy Storchaka committed
S
bpo-12022: Change error type for bad objects in "with" and "async with" (GH-26809)
Serhiy Storchaka committed
April 4, 2021
I
bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25145)
Inada Naoki committed
July 9, 2020
H
bpo-40275: Use new test.support helper submodules in tests (GH-21412)
Hai Shi committed
June 5, 2019
S
[3.9] bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-12620)
Serhiy Storchaka committed
April 1, 2019
S
bpo-36492: Deprecate passing some arguments as keyword arguments. (GH-12637)
Serhiy Storchaka committed
November 15, 2018
S
bpo-35202: Remove unused imports in Lib directory (GH-10450)
Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి) committed
January 28, 2018
M
bpo-30306: release arguments of contextmanager (GH-1500)
Martin Teichmann committed
January 25, 2018
I
bpo-29302: Implement contextlib.AsyncExitStack. (#4790)
Ilya Kulakov committed
November 23, 2017
J
bpo-10049: Add a "no-op" (null) context manager to contextlib (GH-4464)
Jesse-Bakker committed
September 7, 2017
A
bpo-31370: Remove support for threads-less builds (#3385)
Antoine Pitrou committed
June 9, 2017
J
bpo-30266: support "= None" pattern in AbstractContextManager (#1448)
Jelle Zijlstra committed
April 11, 2017
S
June 20, 2016
S
Added more tests for issue #27122.
Serhiy Storchaka committed
S
Added more tests for issue #27122.
Serhiy Storchaka committed
June 14, 2016
G
Issue #27123: When an exception is raised within the context being
Gregory P. Smith committed
G
Issue #27123: When an exception is raised within the context being
Gregory P. Smith committed
April 8, 2016
B
Issue #25609: Introduce contextlib.AbstractContextManager and
Brett Cannon committed
February 10, 2016
M
Issue #26136: Upgrade the generator_stop warning to DeprecationWarning
Martin Panter committed
October 10, 2015
M
Issue #25322: Merge contextlib.suppress test fix from 3.4 into 3.5
Martin Panter committed
M
Issue #25322: Fix test for nested contextlib.suppress
Martin Panter committed
June 28, 2015
S
Issue #24336: The contextmanager decorator now works with functions with
Serhiy Storchaka committed
S
Issue #24336: The contextmanager decorator now works with functions with
Serhiy Storchaka committed
May 22, 2015
Y
Issue 24237: Raise PendingDeprecationWarning per PEP 479
Yury Selivanov committed
May 9, 2015
Y
PEP 479: Change StopIteration handling inside generators.
Yury Selivanov committed
November 28, 2014
B
Issue #22389: Add contextlib.redirect_stderr().
Berker Peksag committed
January 24, 2014
N
Merge removal of issue 20317 debugging code from 3.3
Nick Coghlan committed
N
Issue 20317: Remove debugging code from contextlib
Nick Coghlan committed
January 22, 2014
N
Merge #20317 from 3.3
Nick Coghlan committed
N
Issue #20317: Don't create a reference loop in ExitStack
Nick Coghlan committed
November 3, 2013
N
Close #19403: make contextlib.redirect_stdout reentrant
Nick Coghlan committed