]> granicus.if.org Git - python/commitdiff
Add threading.get_ident to whatsnew.
authorR David Murray <rdmurray@bitdance.com>
Tue, 2 Oct 2012 02:10:15 +0000 (22:10 -0400)
committerR David Murray <rdmurray@bitdance.com>
Tue, 2 Oct 2012 02:10:15 +0000 (22:10 -0400)
Doc/whatsnew/3.3.rst

index c4065b314c2010b5c31c2038c770ac489843daa3..03a897bf01d9a0676561ac6f299529d396591365 100644 (file)
@@ -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
 ----