Skip to content
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

[python] Pythonize TObject::Clone() overrides for correct ownership #17399

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

guitargeek
Copy link
Contributor

Following up on #17250, also pythonizing the TObject::Clone() overrides to automatically give up the ownership.

Thanks to the following forum post for noticing this problem: https://root-forum.cern.ch/t/a-question-about-root/62617

Copy link

Test Results

    17 files      17 suites   3d 18h 50m 30s ⏱️
 2 693 tests  2 692 ✅ 0 💤  1 ❌
44 127 runs  44 110 ✅ 0 💤 17 ❌

For more details on these failures, see this check.

Results for commit da7bca3.

Copy link
Member

@pcanal pcanal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Following up on root-project#17250, also pythonizing the `TObject::Clone()`
overrides to automatically give up the ownership.

Thanks to the following forum post for noticing this problem:
https://root-forum.cern.ch/t/a-question-about-root/62617
@guitargeek guitargeek merged commit c691347 into root-project:master Jan 22, 2025
20 checks passed
@guitargeek guitargeek deleted the tobject_clone_pyz branch January 22, 2025 06:50
@guitargeek
Copy link
Contributor Author

Backported to 6.34 in #17484.

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