A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-January/012397.html below:

[Python-Dev] weak refs and jython

[Python-Dev] weak refs and jython [Python-Dev] weak refs and jythonFred L. Drake, Jr. fdrake@acm.org
Wed, 31 Jan 2001 15:25:51 -0500 (EST)
Samuele Pedroni writes:
 > 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.

  This is certainly annoying.
  How about this: the callback receives the weak reference object or
proxy which it was registered on as a parameter.  Since the reference
has already been cleared, there's no way to get the object back, so we
don't need to get it from Java either.
  Would that be workable?  (I'm adjusting my patch now.)


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Digital Creations




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4