Skip to content

[3.12] gh-126425: Refactor _lsprof_Profiler_enable (GH-126426) #126443

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

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Nov 5, 2024

  • Explicit memory management for None objects (since we still try to treat immortal objects as regular objects)
  • Respect possible errors of sys.monitoring.register_callback call
    (cherry picked from commit 7587260)

Co-authored-by: sobolevn [email protected]

- Explicit memory management for `None` objects (since we still try to treat immortal objects as regular objects)
- Respect possible errors of `sys.monitoring.register_callback` call
(cherry picked from commit 7587260)

Co-authored-by: sobolevn <[email protected]>
@sobolevn sobolevn enabled auto-merge (squash) November 5, 2024 12:24
@sobolevn sobolevn merged commit 786886a into python:3.12 Nov 5, 2024
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants