Message6797

Author danilo2
Recipients danilo2
Date 2012-03-15.15:18:59
SpamBayes Score 1.6126283e-07
Marked as misclassified No
Message-id <1331824739.62.0.181732668229.issue1851@psf.upfronthosting.co.za>
In-reply-to
Content
Hi! 
weakrefs in juthon 2.5.2 does not work as they should. concider this code from jython manual:
import weakref
class Object:
    pass
o = Object()
r = weakref.ref(o)
o2 = r()
o is o2
del o, o2
print '!'
print r()

as a reusult we can see "<_main_.Object instance at 0x15434>" not None
History
Date User Action Args
2012-03-15 15:18:59danilo2setrecipients: + danilo2
2012-03-15 15:18:59danilo2setmessageid: <1331824739.62.0.181732668229.issue1851@psf.upfronthosting.co.za>
2012-03-15 15:18:59danilo2linkissue1851 messages
2012-03-15 15:18:59danilo2create