Skip to content

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

Merged
sobolevn merged 1 commit intopython:3.12from
miss-islington:backport-7587260-3.12
Nov 5, 2024
Merged

[3.12] gh-126425: Refactor _lsprof_Profiler_enable (GH-126426)#126443
sobolevn merged 1 commit intopython:3.12from
miss-islington:backport-7587260-3.12

Conversation

@miss-islington
Copy link
Copy Markdown
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 mail@sobolevn.me

- 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 <mail@sobolevn.me>
@sobolevn sobolevn enabled auto-merge (squash) November 5, 2024 12:24
@sobolevn sobolevn merged commit 786886a into python:3.12 Nov 5, 2024
@miss-islington miss-islington deleted the backport-7587260-3.12 branch January 2, 2026 18:02
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