Skip to content

[Python][UHI] Remove __eq__ Pythonization for TH1 Derived Classes #19209

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 3 commits into from
Jun 27, 2025

Conversation

siliataider
Copy link
Contributor

This Pull request:

Changes or fixes:

This PR removes the __eq__ operator pythonization for TH1 and its derived classes, which was introduced as part of the UHI implementation. The operator caused unintended backward-incompatible behavior and potential confusion for python users. Instead of extending the operator to address concerns raised in #19061, this PR reverts it entirely.

Checklist:

  • tested changes locally
  • updated the docs (if necessary)

This PR fixes #19038

@siliataider siliataider self-assigned this Jun 27, 2025
@siliataider siliataider requested a review from guitargeek June 27, 2025 09:11
Copy link
Contributor

@guitargeek guitargeek left a comment

Choose a reason for hiding this comment

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

Thank you very much 🙏

Copy link

Test Results

    20 files      20 suites   3d 15h 11m 42s ⏱️
 3 066 tests  3 066 ✅ 0 💤 0 ❌
59 720 runs  59 720 ✅ 0 💤 0 ❌

Results for commit 8a5b97c.

@siliataider siliataider merged commit c53a6b6 into root-project:master Jun 27, 2025
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Python] TH1 equality operator pythonization not appropriate for ROOT histograms
4 participants