-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
Reference leak in _contextvars.Context.run()
#120811
Labels
type-bug
An unexpected behavior, bug, or error
Comments
kumaraditya303
added a commit
that referenced
this issue
Jun 21, 2024
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jun 21, 2024
…ythonGH-120812) (cherry picked from commit aed31be) Co-authored-by: Peter <zintensitydev@gmail.com> Co-authored-by: Kumar Aditya <kumaraditya@python.org>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jun 21, 2024
…ythonGH-120812) (cherry picked from commit aed31be) Co-authored-by: Peter <zintensitydev@gmail.com> Co-authored-by: Kumar Aditya <kumaraditya@python.org>
mrahtz
pushed a commit
to mrahtz/cpython
that referenced
this issue
Jun 30, 2024
…ython#120812) Co-authored-by: Kumar Aditya <kumaraditya@python.org>
noahbkim
pushed a commit
to hudson-trading/cpython
that referenced
this issue
Jul 11, 2024
…ython#120812) Co-authored-by: Kumar Aditya <kumaraditya@python.org>
estyxx
pushed a commit
to estyxx/cpython
that referenced
this issue
Jul 17, 2024
…ython#120812) Co-authored-by: Kumar Aditya <kumaraditya@python.org>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
Bug description:
In
_contextvars.Context.run
,call_result
is notPy_DECREF
'd if_PyContext_Exit
fails. See here.CPython versions tested on:
3.11
Operating systems tested on:
Linux
Linked PRs
_PyContext_Exit
failure #120812_PyContext_Exit
failure (GH-120812) #120843_PyContext_Exit
failure (GH-120812) #120844The text was updated successfully, but these errors were encountered: