| CODENOTIFIER | HelpYou are not signed inSign in |
Project: Python
Revision: 66190
Author: benjamin.peterson
Date: 03 Sep 2008 17:48:20
Changes:Diff:| ... | ...@@ -2523,14 +2523,14 @@ | |
| 2523 | 2523 | |
| 2524 | 2524 | (Contributed by Dwayne Bailey; :issue:`1581073`.) |
| 2525 | 2525 | |
| 2526 | * The :mod:`threading` module API is being changed in Python 3.0 to | |
| 2527 | use properties such as :attr:`daemon` instead of :meth:`setDaemon` | |
| 2528 | and :meth:`isDaemon` methods, and some methods have been renamed to | |
| 2529 | use underscores instead of camel-case; for example, the | |
| 2530 | :meth:`activeCount` method is renamed to :meth:`active_count`. The | |
| 2531 | 2.6 version of the module supports the same properties and renamed | |
| 2532 | methods, but doesn't remove the old methods. (Carried out by | |
| 2533 | several people, most notably Benjamin Peterson.) | |
| 2526 | * The :mod:`threading` module API is being changed to use properties such as | |
| 2527 | :attr:`daemon` instead of :meth:`setDaemon` and :meth:`isDaemon` methods, and | |
| 2528 | some methods have been renamed to use underscores instead of camel-case; for | |
| 2529 | example, the :meth:`activeCount` method is renamed to :meth:`active_count`. | |
| 2530 | The 2.6 version of the module supports the same properties and renamed | |
| 2531 | methods, but doesn't remove the old methods. 3.0 also fully supports both | |
| 2532 | APIs, and a date for the deprecation of the old APIs has not been set yet. | |
| 2533 | (Carried out by several people, most notably Benjamin Peterson.) | |
| 2534 | 2534 | |
| 2535 | 2535 | The :mod:`threading` module's :class:`Thread` objects |
| 2536 | 2536 | gained an :attr:`ident` property that returns the thread's |