DIRACGrid / DIRAC

DIRAC Grid
http://diracgrid.org
GNU General Public License v3.0
113 stars 176 forks source link

[8.0] Replace __del__ with weakref.finalize in DictCache #7666

Closed chrisburr closed 5 months ago

chrisburr commented 5 months ago

See https://github.com/DIRACGrid/DIRAC/pull/7653 and https://docs.python.org/3/library/weakref.html#comparing-finalizers-with-del-methods

BEGINRELEASENOTES

*Core FIX: Replace __del__ with weakref.finalize in DictCache

ENDRELEASENOTES

chaen commented 5 months ago

Ah cool, I did not know about weakref, and apparently, it's the right thing to do :laughing: https://github.com/cupy/cupy/pull/8315

DIRACGridBot commented 5 months ago

Sweep summary

Sweep ran in https://github.com/DIRACGrid/DIRAC/actions/runs/9478032615

Successful: