From: R David Murray Date: Tue, 2 Oct 2012 02:10:15 +0000 (-0400) Subject: Add threading.get_ident to whatsnew. X-Git-Tag: v3.4.0a1~2410^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0bbfd6b817631949861bb5a5a3a8a15bdb0046a4;p=python Add threading.get_ident to whatsnew. --- diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst index c4065b314c..03a897bf01 100644 --- a/Doc/whatsnew/3.3.rst +++ b/Doc/whatsnew/3.3.rst @@ -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 ----