Skip to content

Theading isAlive() missing version note #59331

Closed

Description

@atagar1
mannequin
BPO 15126
Nosy @birkenfeld

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2012-06-21.21:59:00.953>
created_at = <Date 2012-06-21.16:27:51.600>
labels = ['docs']
title = 'Theading isAlive() missing version note'
updated_at = <Date 2012-06-21.21:59:00.934>
user = 'https://bugs.python.org/atagar1'

bugs.python.org fields:

activity = <Date 2012-06-21.21:59:00.934>
actor = 'georg.brandl'
assignee = 'docs@python'
closed = True
closed_date = <Date 2012-06-21.21:59:00.953>
closer = 'georg.brandl'
components = ['Documentation']
creation = <Date 2012-06-21.16:27:51.600>
creator = 'atagar1'
dependencies = []
files = []
hgrepos = []
issue_num = 15126
keywords = []
message_count = 3.0
messages = ['163344', '163346', '163372']
nosy_count = 3.0
nosy_names = ['georg.brandl', 'atagar1', 'docs@python']
pr_nums = []
priority = 'normal'
resolution = 'works for me'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue15126'
versions = ['Python 2.6']

Activity

  1. atagar1 commented on Jun 21, 2012

    atagar1mannequin
    MannequinAuthor

    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.

  2. atagar1 commented on Jun 21, 2012

    atagar1mannequin
    MannequinAuthor

    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

  3. birkenfeld commented on Jun 21, 2012

    @birkenfeld
    Member

    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.
    """

  4. transferred this issue fromon Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions