mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Add threading.get_ident to whatsnew.
This commit is contained in:
parent
258fabefde
commit
0bbfd6b817
1 changed files with 6 additions and 0 deletions
|
@ -1911,6 +1911,12 @@ The :class:`threading.Thread` constructor now accepts a ``daemon`` keyword
|
|||
argument to override the default behavior of inheriting the ``deamon`` flag
|
||||
value from the parent thread (:issue:`6064`).
|
||||
|
||||
The formerly private function ``_thread.get_ident`` is now available as the
|
||||
public function :func:`~threading.get_ident`. This eliminates several cases of
|
||||
direct access to the ``_thread`` module in the stdlib. Third party code that
|
||||
used ``_thread.get_ident`` should likewise be changed to use the new public
|
||||
interface.
|
||||
|
||||
|
||||
time
|
||||
----
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue