homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Theading isAlive() missing version note
Type: Stage:
Components: Documentation Versions: Python 2.6
process
Status: closed Resolution: works for me
Dependencies: Superseder:
Assigned To: docs@python Nosy List: atagar1, docs@python, georg.brandl
Priority: normal Keywords:

Created on 2012年06月21日 16:27 by atagar1, last changed 2022年04月11日 14:57 by admin. This issue is now closed.

Messages (3)
msg163344 - (view) Author: Damian (atagar1) Date: 2012年06月21日 16:27
The threading module's isAlive() method had an is_alive() alias first created in python 2.6. The documentation page doesn't mention this...
http://docs.python.org/library/threading.html#threading.Thread.is_alive
However, this is noted for other methods like the Event's is_set()...
http://docs.python.org/library/threading.html#threading.Event.is_set
Very minor issue, just meant that I needed to do a bit of experimentation to figure it out.
msg163346 - (view) Author: Damian (atagar1) Date: 2012年06月21日 16:33
I'm gonna hazard the guess that other methods like currentThread() and current_thread() are the same...
http://docs.python.org/library/threading.html#threading.current_thread 
msg163372 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2012年06月21日 21:58
Since the news aliases are all over the module, the version change notice is at the top of the page:
"""
Note
Starting with Python 2.6, this module provides PEP 8 compliant aliases and properties to replace the camelCase names that were inspired by Java’s threading API. This updated API is compatible with that of the multiprocessing module. However, no schedule has been set for the deprecation of the camelCase names and they remain fully supported in both Python 2.x and 3.x.
"""
History
Date User Action Args
2022年04月11日 14:57:31adminsetgithub: 59331
2012年06月21日 21:59:00georg.brandlsetstatus: open -> closed

nosy: + georg.brandl
messages: + msg163372

resolution: works for me
2012年06月21日 16:33:36atagar1setmessages: + msg163346
2012年06月21日 16:27:51atagar1create

AltStyle によって変換されたページ (->オリジナル) /