diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-09-03 21:48:20 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-09-03 21:48:20 (GMT) |
commit | cde6dc9a861ec2895af9ab9ce9f62bcb1dc24540 (patch) | |
tree | 7a08c5cb3ea9af92fc59aaaf23bb2c0a843ca51c /Doc | |
parent | b814d6a7046d1138b624a049a35afcd82c255a4a (diff) | |
download | cpython-cde6dc9a861ec2895af9ab9ce9f62bcb1dc24540.zip cpython-cde6dc9a861ec2895af9ab9ce9f62bcb1dc24540.tar.gz cpython-cde6dc9a861ec2895af9ab9ce9f62bcb1dc24540.tar.bz2 |
3.0 still has the old threading names
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/whatsnew/2.6.rst | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Doc/whatsnew/2.6.rst b/Doc/whatsnew/2.6.rst index 0fcc4b6..883eb90 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 |