The finalize method in bindings/python/libs/client/finalize.py
iterates over all references known to the garbage collector, even those not created by the xrootd bindings. This does not work correctly when the target of a weak reference has been already
collected.
This pr catches this exception, e.g.:
Traceback (most recent call last):
File
".../envs/topcoffea-env/lib/python3.8/site-packages/XRootD/client/finalize.py",
line 46, in finalize
if isinstance(obj, File) and obj.is_open():
ReferenceError: weakly-referenced object no longer exists
https://github.com/xrootd/xrootd/pull/1498
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1