◐ Shell
clean mode source ↗

Remove redundant `_ensure_future` in favor of `ensure_future` in `asyncio` by kumaraditya303 · Pull Request #102398 · python/cpython

Conversation

@kumaraditya303

It serves no purpose and it annoys me to think when working as what is the difference between _ensure_future and ensure_future.

auvipy

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

gvanrossum

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah. Presumably there was a difference in the past.

carljm added a commit to carljm/cpython that referenced this pull request

Mar 7, 2023

carljm added a commit to carljm/cpython that referenced this pull request

Mar 8, 2023

Labels