Look into weakref for python to track all pdarrays and objects that reference server-side objects
weakef is so we can track it without bumping the python object reference count
@mhmerrill I'm looking into https://github.com/Bears-R-Us/arkouda/issues/924 and trying to figure out if there's any places where objects referencing server-side objects are getting GC'd before we're expecting them too.
Could you say what the motivation for using weakref is? Is this related to wanting more control over when things are GC'd or just being able to track things on the client side without impacting GC?
@mhmerrill I'm looking into #924 and trying to figure out if there's any places where objects referencing server-side objects are getting GC'd before we're expecting them too.
Could you say what the motivation for using weakref is? Is this related to wanting more control over when things are GC'd or just being able to track things on the client side without impacting GC?
@ronawho the motivation for weakref is because it does not bump the reference count so things can be freed/gc'd without interference.