Message6797
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 |
|
Date |
User |
Action |
Args |
2012-03-15 15:18:59 | danilo2 | set | recipients:
+ danilo2 |
2012-03-15 15:18:59 | danilo2 | set | messageid: <1331824739.62.0.181732668229.issue1851@psf.upfronthosting.co.za> |
2012-03-15 15:18:59 | danilo2 | link | issue1851 messages |
2012-03-15 15:18:59 | danilo2 | create | |
|