New submission from Tom Gringauz :
`contextlib.nullcontext` cannot be used with async conetext managers, because
it implements only `__enter__` and `__exit__`, and doesn't implement
`__aenter__` and `__aexit__`.
--
components: Library (Lib), asyncio
messages: 375346
nosy: asv
Change by Tom Gringauz :
--
keywords: +patch
pull_requests: +20995
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/21870
___
Python tracker
<https://bugs.python.org/issu
New submission from Tom Gringauz :
Related to this PR https://github.com/python/cpython/pull/21545
--
components: Library (Lib)
messages: 381296
nosy: tomgrin10
priority: normal
severity: normal
status: open
title: aclosing was not added to __all__ in contextlib
Change by Tom Gringauz :
--
keywords: +patch
pull_requests: +22249
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/23356
___
Python tracker
<https://bugs.python.org/issu
Change by Tom Gringauz :
--
nosy: tomgrin10
priority: normal
severity: normal
status: open
title: Add a whatsnew entry about async contextlib.nullcontext
___
Python tracker
<https://bugs.python.org/issue42
Change by Tom Gringauz :
--
keywords: +patch
pull_requests: +22250
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/23357
___
Python tracker
<https://bugs.python.org/issu