Message43
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.
|
|
Date |
User |
Action |
Args |
2008-02-20 17:16:38 | admin | link | issue222803 messages |
2008-02-20 17:16:38 | admin | create | |
|