Issue222803
Created on 2000-11-18.18:57:24 by bckfnn, last changed 2000-11-18.22:09:14 by bckfnn.
History | |||
---|---|---|---|
Date | User | Action | Args |
2000-11-18 18:57:24 | bckfnn | create |
Created on 2000-11-18.18:57:24 by bckfnn, last changed 2000-11-18.22:09:14 by bckfnn.
Messages | |||
---|---|---|---|
msg43 (view) | Author: Finn Bock (bckfnn) | Date: 2000-11-18.18:57:24 | |
Slicing a multidimensional object (e.g, Numeric array) causes jpythonc to fail with: ... File "C:\WINDOWS\JPython-1.1beta2\Tools\jpythonc2\PythonVisitor.py", line 294, in tuple File "C:\WINDOWS\JPython-1.1beta2\Tools\jpythonc2\SimpleCompiler.py", line 293, in tuple_op File "C:\WINDOWS\JPython-1.1beta2\Tools\jpythonc2\SimpleCompiler.py", line 286, in visitall File "C:\WINDOWS\JPython-1.1beta2\Tools\jpythonc2\BaseEvaluator.py", line 29,in visit File "C:\WINDOWS\JPython-1.1beta2\Tools\jpythonc2\PythonVisitor.py", line 276,in Slice AttributeError: instance of 'SimpleCompiler' has no attribute 'slice_op' A minimal program that triggers the error is: #from Numeric import * zeros((3,3))[:,0] # You'd need JNumeric to get this to run, but it seems to trigger the error fine even with the import commented out. |
|||
msg44 (view) | Author: Finn Bock (bckfnn) | Date: 2000-11-18.22:09:14 | |
Fixed by using Tim's patch. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2000-11-18 18:57:24 | bckfnn | create |
Supported by Python Software Foundation,
Powered by Roundup