-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
sys.settrace and sys.setprofile are not re-entrant #94510
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
Comments
pablogsal
added a commit
to pablogsal/cpython
that referenced
this issue
Jul 2, 2022
ambv
added a commit
that referenced
this issue
Jul 5, 2022
GH-94511) Co-authored-by: Łukasz Langa <[email protected]>
ambv
pushed a commit
to ambv/cpython
that referenced
this issue
Jul 5, 2022
…d sys.settrace (pythonGH-94511) Co-authored-by: Łukasz Langa <[email protected]> (cherry picked from commit 40d81fd) Co-authored-by: Pablo Galindo Salgado <[email protected]>
ambv
pushed a commit
to ambv/cpython
that referenced
this issue
Jul 5, 2022
…d sys.settrace (pythonGH-94511) Co-authored-by: Łukasz Langa <[email protected]> (cherry picked from commit 40d81fd) Co-authored-by: Pablo Galindo Salgado <[email protected]>
pablogsal
added a commit
to pablogsal/cpython
that referenced
this issue
Jul 5, 2022
…d sys.settrace (pythonGH-94511) Co-authored-by: Łukasz Langa <[email protected]>. (cherry picked from commit 40d81fd) Co-authored-by: Pablo Galindo Salgado <[email protected]>
pablogsal
added a commit
that referenced
this issue
Jul 5, 2022
…ettrace (GH-94511) (#94579) Co-authored-by: Łukasz Langa <[email protected]>. Co-authored-by: Pablo Galindo Salgado <[email protected]>
ambv
added a commit
that referenced
this issue
Jul 5, 2022
…settrace (GH-94511) (GH-94578) Co-authored-by: Pablo Galindo Salgado <[email protected]> Co-authored-by: Łukasz Langa <[email protected]> (cherry picked from commit 40d81fd)
This is now fixed in 3.10 - 3.12. Thanks, Pablo! ✨ 🍰 ✨ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The code that sets trace and profile functions is not re-entrant. We are leaking objects if removing a profile/trace functions triggers a re-entrant call.
We should raise in this case.
The text was updated successfully, but these errors were encountered: