diff options
author | R David Murray <rdmurray@bitdance.com> | 2012-10-02 02:10:15 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2012-10-02 02:10:15 (GMT) |
commit | 0bbfd6b817631949861bb5a5a3a8a15bdb0046a4 (patch) | |
tree | e3a4a64eb97a94aa40afde04f2b7ec2850915a8c /Doc/whatsnew | |
parent | 258fabefdefecc83914fc16f79f1131d8ee2dc80 (diff) | |
download | cpython-0bbfd6b817631949861bb5a5a3a8a15bdb0046a4.zip cpython-0bbfd6b817631949861bb5a5a3a8a15bdb0046a4.tar.gz cpython-0bbfd6b817631949861bb5a5a3a8a15bdb0046a4.tar.bz2 |
Add threading.get_ident to whatsnew.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.3.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst index c4065b3..03a897b 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 ---- |