https://github.com/python/cpython/commit/d12d7a9c09d94b57a1e9ec51cd64e627e6b865a8 commit: d12d7a9c09d94b57a1e9ec51cd64e627e6b865a8 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: kumaraditya303 <[email protected]> date: 2026-01-10T12:22:18+05:30 summary:
[3.13] gh-72239: Add note distinguishing concurrent.futures.Future from asyncio.Future (GH-143288) (#143608) gh-72239: Add note distinguishing concurrent.futures.Future from asyncio.Future (GH-143288) (cherry picked from commit a9ca49d9c699ce4040f1391d9054d88b4098466b) Co-authored-by: AN Long <[email protected]> files: M Doc/library/concurrent.futures.rst diff --git a/Doc/library/concurrent.futures.rst b/Doc/library/concurrent.futures.rst index 0a2fa48f9a3555..09d7a0d0ec21c3 100644 --- a/Doc/library/concurrent.futures.rst +++ b/Doc/library/concurrent.futures.rst @@ -19,6 +19,11 @@ The asynchronous execution can be performed with threads, using :class:`ProcessPoolExecutor`. Both implement the same interface, which is defined by the abstract :class:`Executor` class. +:class:`concurrent.futures.Future` must not be confused with +:class:`asyncio.Future`, which is designed for use with :mod:`asyncio` +tasks and coroutines. See the :doc:`asyncio's Future <asyncio-future>` +documentation for a detailed comparison of the two. + .. include:: ../includes/wasm-notavail.rst Executor Objects _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]
