DIRACGrid / DIRAC

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

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

Closed chrisburr closed 2 weeks ago

chrisburr commented 2 weeks 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 2 weeks 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 2 weeks ago

Sweep summary

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

Successful: