Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically set parent thread idents on thread start #86718

Open
gaborbernat mannequin opened this issue Dec 3, 2020 · 1 comment
Open

Automatically set parent thread idents on thread start #86718

gaborbernat mannequin opened this issue Dec 3, 2020 · 1 comment
Labels
3.9 only security fixes 3.10 only security fixes stdlib Python modules in the Lib dir

Comments

@gaborbernat
Copy link
Mannequin

gaborbernat mannequin commented Dec 3, 2020

BPO 42552
Nosy @gaborbernat

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 = None
created_at = <Date 2020-12-03.09:49:23.451>
labels = ['3.9', '3.10']
title = 'Automatically set parent thread idents on thread start'
updated_at = <Date 2020-12-03.09:49:23.451>
user = 'https://github.com/gaborbernat'

bugs.python.org fields:

activity = <Date 2020-12-03.09:49:23.451>
actor = 'gaborjbernat'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = []
creation = <Date 2020-12-03.09:49:23.451>
creator = 'gaborjbernat'
dependencies = []
files = []
hgrepos = []
issue_num = 42552
keywords = []
message_count = 1.0
messages = ['382398']
nosy_count = 1.0
nosy_names = ['gaborjbernat']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = None
url = 'https://bugs.python.org/issue42552'
versions = ['Python 3.9', 'Python 3.10']

@gaborbernat
Copy link
Mannequin Author

gaborbernat mannequin commented Dec 3, 2020

I want to request automatically adding the current thread ident on the thread start as parent_ident. I would like this to be able to implement thread-local variables that inherit their values from the parent thread. See https://gist.github.com/gaborbernat/67b653f1d3ce4857a065a3bd81e424df#file-thread_inheritence_sol_1-py-L1 for such an example.

@gaborbernat gaborbernat mannequin added 3.9 only security fixes 3.10 only security fixes labels Dec 3, 2020
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
@iritkatriel iritkatriel added the stdlib Python modules in the Lib dir label Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.9 only security fixes 3.10 only security fixes stdlib Python modules in the Lib dir
Projects
Status: No status
Development

No branches or pull requests

1 participant