[Python-Dev] weak refs and jython
Tim Peters
tim.one@home.com
Wed, 31 Jan 2001 15:28:00 -0500
[Samuele Pedroni]
> I have read weak ref PEP, maybe too late.
> I don't know if portability of code using weak refs between
> python and jython was a goal or could be one,
CPython generally doesn't want to do anything impossible for Jython, if it
can help it.
> and up to which extent actual impl. will correspond to the PEP.
Don't care about that.
> ...
> AFAIK using java weak refs (which I think is a natural choice) I
> see no way (at least no worth-the-effort way) to implement this
> in jython. Java weak refs cannot be resurrected.
Thanks for bringing this up! Fred is looking into it.