Commit cde6dc9a authored by Benjamin Peterson's avatar Benjamin Peterson

3.0 still has the old threading names

parent b814d6a7
...@@ -2523,14 +2523,14 @@ changes, or look through the Subversion logs for all the details. ...@@ -2523,14 +2523,14 @@ changes, or look through the Subversion logs for all the details.
(Contributed by Dwayne Bailey; :issue:`1581073`.) (Contributed by Dwayne Bailey; :issue:`1581073`.)
* The :mod:`threading` module API is being changed in Python 3.0 to * The :mod:`threading` module API is being changed to use properties such as
use properties such as :attr:`daemon` instead of :meth:`setDaemon` :attr:`daemon` instead of :meth:`setDaemon` and :meth:`isDaemon` methods, and
and :meth:`isDaemon` methods, and some methods have been renamed to some methods have been renamed to use underscores instead of camel-case; for
use underscores instead of camel-case; for example, the example, the :meth:`activeCount` method is renamed to :meth:`active_count`.
:meth:`activeCount` method is renamed to :meth:`active_count`. The The 2.6 version of the module supports the same properties and renamed
2.6 version of the module supports the same properties and renamed methods, but doesn't remove the old methods. 3.0 also fully supports both
methods, but doesn't remove the old methods. (Carried out by APIs, and a date for the deprecation of the old APIs has not been set yet.
several people, most notably Benjamin Peterson.) (Carried out by several people, most notably Benjamin Peterson.)
The :mod:`threading` module's :class:`Thread` objects The :mod:`threading` module's :class:`Thread` objects
gained an :attr:`ident` property that returns the thread's gained an :attr:`ident` property that returns the thread's
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment