From: Benjamin Peterson Date: Wed, 3 Sep 2008 21:48:20 +0000 (+0000) Subject: 3.0 still has the old threading names X-Git-Tag: v2.6rc1~62 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cde6dc9a861ec2895af9ab9ce9f62bcb1dc24540;p=thirdparty%2FPython%2Fcpython.git 3.0 still has the old threading names --- diff --git a/Doc/whatsnew/2.6.rst b/Doc/whatsnew/2.6.rst index 0fcc4b641cce..883eb9049518 100644 --- a/Doc/whatsnew/2.6.rst +++ b/Doc/whatsnew/2.6.rst @@ -2523,14 +2523,14 @@ changes, or look through the Subversion logs for all the details. (Contributed by Dwayne Bailey; :issue:`1581073`.) -* The :mod:`threading` module API is being changed in Python 3.0 to - use properties such as :attr:`daemon` instead of :meth:`setDaemon` - and :meth:`isDaemon` methods, and some methods have been renamed to - use underscores instead of camel-case; for example, the - :meth:`activeCount` method is renamed to :meth:`active_count`. The - 2.6 version of the module supports the same properties and renamed - methods, but doesn't remove the old methods. (Carried out by - several people, most notably Benjamin Peterson.) +* The :mod:`threading` module API is being changed to use properties such as + :attr:`daemon` instead of :meth:`setDaemon` and :meth:`isDaemon` methods, and + some methods have been renamed to use underscores instead of camel-case; for + example, the :meth:`activeCount` method is renamed to :meth:`active_count`. + The 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 + APIs, and a date for the deprecation of the old APIs has not been set yet. + (Carried out by several people, most notably Benjamin Peterson.) The :mod:`threading` module's :class:`Thread` objects gained an :attr:`ident` property that returns the thread's