COMMITS
/ Lib/contextlib.py February 4, 2026
S
gh-144386: Add support for descriptors in ExitStack and AsyncExitStack (#144420)
Serhiy Storchaka committed
November 10, 2023
Z
gh-103791: handle `BaseExceptionGroup` in `contextlib.suppress()` (#111910)
Zac Hatfield-Dodds 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
September 30, 2022
May 4, 2022
February 26, 2022
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
September 23, 2021
J
bpo-38415: Allow using @asynccontextmanager-made ctx managers as decorators (GH-16667)
Jason Fried 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
June 13, 2021
B
Fix typos in multiple files (GH-26689)
Binbin committed
November 17, 2020
T
bpo-42395: Add aclosing to __all__ (GH-23356)
Tom Gringauz committed
November 9, 2020
T
bpo-41543: contextlib.nullcontext can fill in for an async context manager (GH-21870)
Tom Gringauz committed
November 5, 2020
K
bpo-40816 Add AsyncContextDecorator class (GH-20516)
Kazantcev Andrey committed
November 2, 2020
April 7, 2020
G
bpo-39481: Implementation for PEP 585 (#18239)
Guido van Rossum committed
June 5, 2019
S
[3.9] bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-12620)
Serhiy Storchaka committed
June 1, 2019
S
bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700)
Serhiy Storchaka committed
May 6, 2019
S
bpo-36542: Allow to overwrite the signature for Python functions. (GH-12705)
Serhiy Storchaka committed
April 1, 2019
S
bpo-36492: Deprecate passing some arguments as keyword arguments. (GH-12637)
Serhiy Storchaka committed
June 8, 2018
Y
bpo-33786: Fix asynchronous generators to handle GeneratorExit in athrow() (GH-7467)
Yury Selivanov committed
April 13, 2018
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
December 14, 2017
J
bpo-30241: implement contextlib.AbstractAsyncContextManager (#1412)
Jelle Zijlstra committed
November 23, 2017
J
bpo-10049: Add a "no-op" (null) context manager to contextlib (GH-4464)
Jesse-Bakker committed
June 9, 2017
J
bpo-30266: support "= None" pattern in AbstractContextManager (#1448)
Jelle Zijlstra committed
May 1, 2017
J
bpo-29679: Implement @contextlib.asynccontextmanager (#360)
Jelle Zijlstra committed
April 11, 2017
S
March 1, 2017
A
Clarify exception handler scope in contextlib
amosonn committed
February 12, 2017
N
bpo-27122: Fix comment to point to correct issue number (#47)
Nathaniel J. Smith 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
Normalize whitespace
Brett Cannon committed
B
Issue #25609: Introduce contextlib.AbstractContextManager and
Brett Cannon 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 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
October 26, 2013
N
Close #19330 by using public classes in contextlib
Nick Coghlan committed