Message3368

Author baoilleach
Recipients baoilleach
Date 2008-07-30.15:24:13
SpamBayes Score 0.00020769982
Marked as misclassified No
Message-id <1217431453.54.0.856006654822.issue1088@psf.upfronthosting.co.za>
In-reply-to
Content
(On Windows)

If I run test_third.py (below) with Jython2.5a, it runs fine. However,
if beforehand I run the script with Jython 2.2, it will subsequently
fail with Jython2.5a as follows:
>"D:\Tools\jython2.5a1+\jython.bat" test_third.py
0
Traceback (most recent call last):
  File "test_third.py", line 6, in <module>
    print instance.total
AttributeError: 'Example' object has no attribute 'total'

=========

test_third.py is:
"""
import myClass

instance = myClass.Example()
print instance.total
instance.inctotal()
print instance.tota
"""
where myClass.py is the attached file
History
Date User Action Args
2008-07-30 15:24:13baoilleachsetrecipients: + baoilleach
2008-07-30 15:24:13baoilleachsetmessageid: <1217431453.54.0.856006654822.issue1088@psf.upfronthosting.co.za>
2008-07-30 15:24:13baoilleachlinkissue1088 messages
2008-07-30 15:24:13baoilleachcreate