How can I help asyncio, where to start?

Hi I’m new to CPython and I’m interested in helping improve asyncio. I’m trying to get myself familiar with concepts in Lib/asyncio and Modules/_asynciomodule.c. But I don’t know where to get started.

Currently, I noticed that in Lib/asyncio/futures.py, it says _CFuture needs tests:

try:
    import _asyncio
except ImportError:
    pass
else:
    # _CFuture is needed for tests.
    Future = _CFuture = _asyncio.Future

But it seems that the tests are well-written in Lib/test/test_asyncio/test_futures.py, for both _PyFuture and _CFuture. So I’m not sure which kinds of tests are needed.

Hope to hear your suggestions, including but not limited to tests, docs.

1 Like

This says “_CFuture is needed for tests” not “tests are needed for _CFuture”

Oh sorry this was a huge misunderstanding :joy::joy:

If you do wish to contribute, you can search for issues tagged as asyncio: Issues · python/cpython · GitHub

Please also review the Dev Guide which outlines our contribution processes and best practices: https://devguide.python.org