Skip to content

Remove own implementation for thread-local storage #75015

Closed

Description

@ma8ma
mannequin
BPO 30832
Nosy @vstinner, @ma8ma
PRs
  • bpo-30832: Remove own implementation for thread-local storage #2537
  • 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 2017-07-03.14:00:29.256>
    created_at = <Date 2017-07-03.08:23:53.413>
    labels = ['interpreter-core', 'type-feature', '3.7']
    title = 'Remove own implementation for thread-local storage'
    updated_at = <Date 2017-07-05.13:44:56.600>
    user = 'https://github.com/ma8ma'

    bugs.python.org fields:

    activity = <Date 2017-07-05.13:44:56.600>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-07-03.14:00:29.256>
    closer = 'vstinner'
    components = ['Interpreter Core']
    creation = <Date 2017-07-03.08:23:53.413>
    creator = 'masamoto'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 30832
    keywords = []
    message_count = 5.0
    messages = ['297543', '297547', '297572', '297588', '297749']
    nosy_count = 2.0
    nosy_names = ['vstinner', 'masamoto']
    pr_nums = ['2537']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue30832'
    versions = ['Python 3.7']

    Activity

    1. ma8ma commented on Jul 3, 2017

      ma8mamannequin
      MannequinAuthor

      CPython has provided the own implementation for thread-local storage (TLS) on Python/thread.c, it's used in the case which a platform has not supplied native TLS. However, currently all supported platforms (NT and pthreads) have provided native TLS and defined the Py_HAVE_NATIVE_TLS macro with unconditional in any case.
      Therefore, I'd propose removing outdated code.

      python-dev: https://mail.python.org/pipermail/python-dev/2017-July/148534.html

    2. added
      interpreter-core(Objects, Python, Grammar, and Parser dirs)
      type-featureA feature request or enhancement
      on Jul 3, 2017
    3. vstinner commented on Jul 3, 2017

      @vstinner
      Member

      This change is related to the PEP-539: the new Thread-Local Storage (TLS) API.

    4. vstinner commented on Jul 3, 2017

      @vstinner
      Member

      New changeset aa0aa04 by Victor Stinner (Masayuki Yamamoto) in branch 'master':
      bpo-30832: Remove own implementation for thread-local storage (bpo-2537)
      aa0aa04

    5. vstinner commented on Jul 3, 2017

      @vstinner
      Member

      Well done, I didn't see any major outdage (compilation error) on 3.x buildbots ;-)

    6. vstinner commented on Jul 5, 2017

      @vstinner
      Member

      New changeset 8207c17 by Victor Stinner in branch 'master':
      Revert "bpo-30822: Fix testing of datetime module." (bpo-2588)
      8207c17

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

      3.7 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancement

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions