Audit asyncio thread safety · Issue #128002 · python/cpython · GitHub

github.com

Tin mới

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

topic-free-threading

gh-128002: fix many thread safety issues in asyncio #128147

gh-128002: use internal llist implementation for asyncio tasks #128256

gh-128002: add more thread safety tests for asyncio #128480

gh-128002: fix asyncio.all_tasks against concurrent deallocations of tasks #128541

gh-128002: use per threads tasks linked list in asyncio #128869

gh-128002: use _PyObject_SetMaybeWeakref when creating tasks in asyncio #128885

gh-128002: fix test_all_tasks_different_thread in asyncio #129267

gh-128002: simplify all_tasks to use PyList_Extend instead of manual iteration #129942

gh-128002: add fast path for native tasks in asyncio.all_tasks #129943

gh-128002: optimistically remove tasks from linked list when finished #129995

gh-128002: use efficient linked list impl for eager tasks in asyncio #130518

gh-128002: add test_asyncio.test_free_threading to tsan tests #131106

gh-128002: fix tsan race in closing socket in test_ssl #131397

gh-128002: fix tsan race in closing socket in test_sslproto #131399

gh-128002: run all asyncio tests with tsan CI #131797

[3.14] gh-128002: add what's new docs for asyncio (GH-134324) #134362

gh-128002: add what's new docs for asyncio #134324