management bug. Also, move some duplicated code into the new_weakref fucntion.
Attach a file by drag & drop or click to upload