[Python-checkins] r66190 - python/trunk/Doc/whatsnew/2.6.rst
benjamin.peterson
python-checkins at python.org
Wed Sep 3 23:48:20 CEST 2008
Author: benjamin.peterson
Date: Wed Sep 3 23:48:20 2008
New Revision: 66190
Log:
3.0 still has the old threading names
Modified:
python/trunk/Doc/whatsnew/2.6.rst
Modified: python/trunk/Doc/whatsnew/2.6.rst
==============================================================================
--- python/trunk/Doc/whatsnew/2.6.rst (original)
+++ python/trunk/Doc/whatsnew/2.6.rst Wed Sep 3 23:48:20 2008
@@ -2523,14 +2523,14 @@
(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
More information about the Python-checkins
mailing list