History for Lib/threading.py - python/cpython · GitHub

github.com

GitHub CopilotWrite better code with AI | MCP RegistryIntegrate external tools | ActionsAutomate any workflow | CodespacesInstant dev environments | IssuesPlan and track work | Code ReviewManage code changes | Code QualityEnforce quality at merge | Why GitHub | Marketplace | View all features | Enterprises | Small and medium teams | Startups | View all use cases | View all industries | View all solutions | AI | Software Development | DevOps | Security | View all topics | Customer stories | Events & webinars | Ebooks & reports | Business insights | Trust center | Partners | View all resources

Tin mới

gh-124397: Add free-threading support for iterators. (gh-148894)

gh-124397: Add free-threading support for iterators. (gh-148894)

gh-114827: clarify `threading.Event.wait` timeout behavior (#114834)

gh-114827: clarify `threading.Event.wait` timeout behavior (#114834)

gh-136003: Execute pre-finalization callbacks in a loop (GH-136004)

gh-136003: Execute pre-finalization callbacks in a loop (GH-136004)

gh-130522: Fix unraisable TypeError in threading at interpreter shutdown (#131537)

gh-130522: Fix unraisable TypeError in threading at interpreter shutdown (#131537)

gh-134323: Fix the new `threading.RLock.locked` method (#134368)

gh-134323: Fix the new `threading.RLock.locked` method (#134368)

gh-132542: Set native thread ID after fork (GH-132701)

gh-132542: Set native thread ID after fork (GH-132701)

gh-134087: enforce signature of `threading.RLock` (#134178)

gh-134087: enforce signature of `threading.RLock` (#134178)

gh-132578: Rename the `threading.Thread._handle` field (#132696)

gh-132578: Rename the `threading.Thread._handle` field (#132696)

gh-128384: Use a context variable for warnings.catch_warnings (gh-130010)

gh-128384: Use a context variable for warnings.catch_warnings (gh-130010)

gh-115942: Add `locked` to several multiprocessing locks (#115944)

gh-115942: Add `locked` to several multiprocessing locks (#115944)

gh-129403: Fix `ValueError` messages in `asyncio.Barrier` and `threading.Barrier` (#129419)

gh-129403: Fix `ValueError` messages in `asyncio.Barrier` and `threading.Barrier` (#129419)

gh-118761: Always lazy import `warnings` in `threading` (#129428)

gh-118761: Always lazy import `warnings` in `threading` (#129428)

gh-59705: Set OS thread name when Thread.name is changed (#127702)

gh-59705: Set OS thread name when Thread.name is changed (#127702)

gh-59705: Add _thread.set_name() function (#127338)

gh-59705: Add _thread.set_name() function (#127338)

gh-121474: Add threading.Barrier parties arg sanity check. (GH-121480)

gh-121474: Add threading.Barrier parties arg sanity check. (GH-121480)

gh-121905: Consistently use "floating-point" instead of "floating point" (GH-121907)

gh-121905: Consistently use "floating-point" instead of "floating point" (GH-121907)

gh-114271: Fix race in `Thread.join()` (#114839)

gh-114271: Fix race in `Thread.join()` (#114839)

gh-114271: Make `_thread.ThreadHandle` thread-safe in free-threaded builds (GH-115190)

gh-114271: Make `_thread.ThreadHandle` thread-safe in free-threaded builds (GH-115190)

gh-115035: Mark ThreadHandles as non-joinable earlier after forking (#115042)

gh-115035: Mark ThreadHandles as non-joinable earlier after forking (#115042)

gh-109653: Speedup import of threading module (#114509)

gh-109653: Speedup import of threading module (#114509)

gh-114315: Make `threading.Lock` a real class, not a factory function (#114479)

gh-114315: Make `threading.Lock` a real class, not a factory function (#114479)

gh-114423: Remove DummyThread from threading._active when thread dies (GH-114424)

gh-114423: Remove DummyThread from threading._active when thread dies (GH-114424)

gh-102512: Turn _DummyThread into _MainThread after os.fork() called from a foreign thread (GH-113261)

gh-102512: Turn _DummyThread into _MainThread after os.fork() called from a foreign thread (GH-113261)

GH-110829: Ensure Thread.join() joins the OS thread (#110848)

GH-110829: Ensure Thread.join() joins the OS thread (#110848)

gh-109860: Use a New Thread State When Switching Interpreters, When Necessary (gh-110245)

gh-105716: Support Background Threads in Subinterpreters Consistently (gh-109921)

gh-109593: Fix reentrancy issue in multiprocessing resource_tracker (#109629)

gh-102029: Deprecate passing arguments to `_PyRLock` in `threading` (#102071)

gh-106236: Replace `assert` with `raise RuntimeError` in `threading.py` (#106237)

gh-104837: Revert "gh-104341: Add a Separate "Running" Lock for Each Thread (gh-104754) (#104838)

gh-104341: Add a Separate "Running" Lock for Each Thread (gh-104754)

gh-100228: Warn from os.fork() if other threads exist. (#100229)

gh-98610: Adjust the Optional Restrictions on Subinterpreters (GH-98618)

gh-96349: fix minor performance regression initializing threading.Event (gh-96350)

fix threading.Event.isSet() docstring (#96297)

1 1