classification
Title: contextlib.AsyncExitStack enter_async_context and aclose should be labeled as coroutine methods
Type: Stage: patch review
Components: asyncio, Documentation Versions: Python 3.10, Python 3.9, Python 3.8, Python 3.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: asvetlov, docs@python, naglis, yselivanov
Priority: normal Keywords: patch

Created on 2020-06-14 12:26 by naglis, last changed 2020-06-14 14:06 by xtreak.

Pull Requests
URL Status Linked Edit
PR 20870 open naglis, 2020-06-14 12:28
Messages (1)
msg371503 - (view) Author: Naglis Jonaitis (naglis) * Date: 2020-06-14 12:26
enter_async_context[1] and aclose[2] are coroutine methods.

1: https://github.com/python/cpython/blob/8f04a84755babe516ebb5304904ea7c15b865c80/Lib/contextlib.py#L548
2: https://github.com/python/cpython/blob/8f04a84755babe516ebb5304904ea7c15b865c80/Lib/contextlib.py#L591
History
Date User Action Args
2020-06-14 14:06:28xtreaksetnosy: + yselivanov, asvetlov
components: + asyncio
2020-06-14 12:28:26naglissetkeywords: + patch
stage: patch review
pull_requests: + pull_request20059
2020-06-14 12:26:50nagliscreate