FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

GH-100892: Fix race in clearing `threading.local` by kumaraditya303 · Pull Request #100922 · python/cpython · GitHub

/ cpython Public

GH-100892: Fix race in clearing threading.local - #100922

Merged
kumaraditya303 merged 5 commits into
python:mainfrom
kumaraditya303:tstate
Jan 11, 2023
Merged

GH-100892: Fix race in clearing threading.local#100922
kumaraditya303 merged 5 commits into
python:mainfrom
kumaraditya303:tstate

Conversation

kumaraditya303 commented Jan 10, 2023
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Contributor

kumaraditya303 added needs backport to 3.10 only security fixes type-crash A hard crash of the interpreter, possibly with a core dump needs backport to 3.11 only security fixes labels Jan 10, 2023

Copy link
Copy Markdown
Contributor Author

This race exists in security only branches too, @ambv how about backporting this to those?

kumaraditya303 requested a review from ambv January 10, 2023 14:14
Comment thread Modules/_threadmodule.c

pablogsal commented Jan 10, 2023
edited
Loading

Copy link
Copy Markdown
Member

Excellent job @kumaraditya303 👌

Comment thread Modules/_threadmodule.c
Comment thread Modules/_threadmodule.c

Copy link
Copy Markdown
Contributor Author

Excellent job👌

Thanks for the review, I have added a test and verified it, will merge once CI passes.

kumaraditya303 merged commit 762745a into python:main Jan 11, 2023

Copy link
Copy Markdown
Contributor

Thanks @kumaraditya303 for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11.
🐍🍒⛏🤖

Copy link
Copy Markdown
Contributor

Sorry @kumaraditya303, I had trouble checking out the 3.11 backport branch.
Please retry by removing and re-adding the "needs backport to 3.11" label.
Alternatively, you can backport using cherry_picker on the command line.
cherry_picker 762745a124cbc297cf2fe6f3ec9ca1840bb2e873 3.11

Copy link
Copy Markdown
Contributor

Sorry, @kumaraditya303, I could not cleanly backport this to 3.10 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 762745a124cbc297cf2fe6f3ec9ca1840bb2e873 3.10

kumaraditya303 added needs backport to 3.10 only security fixes and removed needs backport to 3.10 only security fixes needs backport to 3.11 only security fixes labels Jan 11, 2023
kumaraditya303 added the needs backport to 3.11 only security fixes label Jan 11, 2023

Copy link
Copy Markdown
Contributor

Thanks @kumaraditya303 for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10.
🐍🍒⛏🤖

Copy link
Copy Markdown
Contributor

Thanks @kumaraditya303 for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒⛏🤖

Copy link
Copy Markdown
Contributor

Sorry @kumaraditya303, I had trouble checking out the 3.10 backport branch.
Please retry by removing and re-adding the "needs backport to 3.10" label.
Alternatively, you can backport using cherry_picker on the command line.
cherry_picker 762745a124cbc297cf2fe6f3ec9ca1840bb2e873 3.10

Copy link
Copy Markdown
Contributor

Sorry, @kumaraditya303, I could not cleanly backport this to 3.11 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 762745a124cbc297cf2fe6f3ec9ca1840bb2e873 3.11

Copy link
Copy Markdown

GH-100937 is a backport of this pull request to the 3.11 branch.

bedevere-bot removed the needs backport to 3.11 only security fixes label Jan 11, 2023
kumaraditya303 added a commit to kumaraditya303/cpython that referenced this pull request Jan 11, 2023
…nGH-100922).

(cherry picked from commit 762745a)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>

Copy link
Copy Markdown

GH-100938 is a backport of this pull request to the 3.10 branch.

bedevere-bot removed the needs backport to 3.10 only security fixes label Jan 11, 2023
kumaraditya303 added a commit to kumaraditya303/cpython that referenced this pull request Jan 11, 2023
…nGH-100922).

(cherry picked from commit 762745a)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>

Copy link
Copy Markdown

GH-100939 is a backport of this pull request to the 3.9 branch.

1 similar comment

Copy link
Copy Markdown

GH-100939 is a backport of this pull request to the 3.9 branch.

kumaraditya303 added a commit to kumaraditya303/cpython that referenced this pull request Jan 11, 2023
…ythonGH-100922).

(cherry picked from commit 762745a)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>.
(cherry picked from commit 683e9fe)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
kumaraditya303 added a commit to kumaraditya303/cpython that referenced this pull request Jan 11, 2023
…ythonGH-100922).

(cherry picked from commit 762745a)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>.
(cherry picked from commit 683e9fe)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
kumaraditya303 added a commit that referenced this pull request Jan 11, 2023
…#100937)

(cherry picked from commit 762745a)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
kumaraditya303 added a commit that referenced this pull request Jan 11, 2023
…#100938)

(cherry picked from commit 762745a)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
ambv pushed a commit that referenced this pull request Jan 20, 2023
…100939)

[3.9] [3.10] GH-100892: Fix race in clearing `threading.local` (GH-100922).
(cherry picked from commit 762745a)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>.
(cherry picked from commit 683e9fe)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
gentoo-bot pushed a commit to gentoo/cpython that referenced this pull request May 21, 2024
…GH-100922) (python#100939)

[3.9] [3.10] pythonGH-100892: Fix race in clearing `threading.local` (pythonGH-100922).
(cherry picked from commit 762745a)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>.
(cherry picked from commit 683e9fe)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>

[adjusted for 3.8 by Michał Górny]
gentoo-bot pushed a commit to gentoo/cpython that referenced this pull request Sep 19, 2024
…GH-100922) (python#100939)

[3.9] [3.10] pythonGH-100892: Fix race in clearing `threading.local` (pythonGH-100922).
(cherry picked from commit 762745a)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>.
(cherry picked from commit 683e9fe)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>

[adjusted for 3.8 by Michał Górny]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-crash A hard crash of the interpreter, possibly with a core dump

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL