Message5894

Author thijs
Recipients thijs
Date 2010-07-14.17:03:23
SpamBayes Score 1.9317775e-10
Marked as misclassified No
Message-id <1279127005.05.0.739630871422.issue1634@psf.upfronthosting.co.za>
In-reply-to
Content
$ jython
Jython 2.5.2b1 (trunk:7078, Jul 14 2010, 18:47:14) 
[Java HotSpot(TM) 64-Bit Server VM (Apple Inc.)] on java1.6.0_20
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> o = object()
>>> sys.getrefcount(o)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: '<reflected field public org.python.core.PyObject o' object has no attribute 'getrefcount'
>>> 
Thijs-Triemstra:~ thijstriemstra$ python
Python 2.6.5 (r265:79063, Jun 17 2010, 10:48:26) 
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> o = object()
>>> sys.getrefcount(o)
2
>>>

You can reproduce this also by running the PyAMF trunk test suite.
History
Date User Action Args
2010-07-14 17:03:25thijssetrecipients: + thijs
2010-07-14 17:03:25thijssetmessageid: <1279127005.05.0.739630871422.issue1634@psf.upfronthosting.co.za>
2010-07-14 17:03:24thijslinkissue1634 messages
2010-07-14 17:03:23thijscreate