You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[PyROOT] Implement TTree SetBranchAddress pythonization in Python
The pythonization of `TTree::SetBranchAddress` was implemented in C++,
hacking into CPyCppy by using implementation details like data member
caches (this call: `((CPPInstance *)address)GetDatamemberCache()`). Not
too surprising that it apparently breaks with the upcoming Python 3.13.
It's better to implement the pythonizations in Python and also manage
the lifetime of the necessary data in Python. This is done in this
commit.
The pythonization is extensively tested in `ttree_setbranchaddress.py`.
Possible closes#15799.
0 commit comments