Skip to content

[subinterpreters] Get the current Python interpreter state from Thread Local Storage (autoTSSkey)#84702

@vstinner

Description

@vstinner
BPO40522
Nosy@vstinner, @seberg, @corona10, @pablogsal, @shihai1991, @h-vetinari
PRs
  • bpo-40522: _PyThreadState_Swap() sets autoTSSkey #19939
  • bpo-40522: Store tstate in a Thread Local Storage #23976
  • bpo-40522: Replace PyThreadState_GET() with PyThreadState_Get() #24575
  • bpo-40522: Use PyThreadState_Get() in _lsprof.c #24596
  • bpo-40522: Use PyThreadState_Get() in decimal #24597
  • 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=Noneclosed_at=Nonecreated_at=<Date2020-05-05.17:12:14.636>labels= ['expert-subinterpreters', '3.9'] title='[subinterpreters] Get the current Python interpreter state from Thread Local Storage (autoTSSkey)'updated_at=<Date2021-06-29.17:34:08.113>user='https://github.com/vstinner'

    bugs.python.org fields:

    activity=<Date2021-06-29.17:34:08.113>actor='h-vetinari'assignee='none'closed=Falseclosed_date=Nonecloser=Nonecomponents= ['Subinterpreters'] creation=<Date2020-05-05.17:12:14.636>creator='vstinner'dependencies= [] files= [] hgrepos= [] issue_num=40522keywords= ['patch'] message_count=11.0messages= ['368182', '368188', '380324', '383894', '383895', '383899', '383900', '383940', '383967', '384057', '387312'] nosy_count=6.0nosy_names= ['vstinner', 'seberg', 'corona10', 'pablogsal', 'shihai1991', 'h-vetinari'] pr_nums= ['19939', '23976', '24575', '24596', '24597'] priority='normal'resolution=Nonestage='patch review'status='open'superseder=Nonetype=Noneurl='https://bugs.python.org/issue40522'versions= ['Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Projects

      Status

      Done

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions