Message3368
(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 |
|
Date |
User |
Action |
Args |
2008-07-30 15:24:13 | baoilleach | set | recipients:
+ baoilleach |
2008-07-30 15:24:13 | baoilleach | set | messageid: <1217431453.54.0.856006654822.issue1088@psf.upfronthosting.co.za> |
2008-07-30 15:24:13 | baoilleach | link | issue1088 messages |
2008-07-30 15:24:13 | baoilleach | create | |
|