From: Xin S. <xs...@um...> - 2009-06-27 19:31:57
|
Hi: The problem of mapping operator[] in python is still unresolved. I know that operator[] is ignored in python in default, so I first use %rename before I parse the operator[] overloading function. The compiling an linking looks fine, but when I test it in python script. I found the mapping of operator[] was not successful. Thus I'm wondering if overloading operator[] in python is not applicable? If mapping operator[] is not allowed in python, what alternatives can I use? If it is allowed in python, what did I miss? -- Xin Shuai (David) PhD of Complex System in School of Informatics Indiana University Bloomington 812-606-8019 |