RFC: Proposal: Deterministic Object Destruction (Posting On Python-List Prohibited)

Gregory Ewing greg.ewing at canterbury.ac.nz
Fri Mar 2 23:57:37 EST 2018


Paul Rubin wrote:
> So you want the programmer to put more head scratching into figuring out
> which reference should be strong and which should be weak?

Also, sometimes weak references don't really solve the
problem, e.g. if you have a graph where you can't identify
any particular node as a "root" node, and you want the graph
to stay around as long as any of its nodes are referenced.

-- 
Greg



More information about the Python-list mailing list