Message4822
I get an ArrayStoreException while doing a __cmp__ operation. It occurs
in PyType.java at 1073:
where[0] = t;
While the 'where' parameter is declared as a PyObject[], over in
PyObjectDerived at line 770 it is created as an array of PyType[] and
passed to lookup_where on the following line.
PyType[]where_type=new PyType[1];
PyObject impl=self_type.lookup_where("__cmp__",where_type);
The exception indicates that the actual type being assigned is PyClass.
PyClass is a PyObject, but not a PyType which appears to be the cause of
the exception. |
|
Date |
User |
Action |
Args |
2009-06-18 20:46:10 | rhudson@annapmicro.com | set | recipients:
+ rhudson@annapmicro.com |
2009-06-18 20:46:10 | rhudson@annapmicro.com | set | messageid: <1245357970.39.0.305099027996.issue1382@psf.upfronthosting.co.za> |
2009-06-18 20:46:10 | rhudson@annapmicro.com | link | issue1382 messages |
2009-06-18 20:46:09 | rhudson@annapmicro.com | create | |
|