Ah - I found out why I had cast it to a string. I had not, at that point, worked out ho to pass the list by value rather than reference, and so was casting to a string as a stopgap measure that I then forgot about. Now the problem is fixed after this group told me how to pass a list by value (by slicing the entire list)
John Machin wrote: > Theerasak Photha wrote: > > On 8 Oct 2006 06:12:48 -0700, John Machin <[EMAIL PROTECTED]> wrote: > > > > > > > > Show us the code that is creating instances of the panel class ... > > > > > > panel1 = > > > panel(number=?,level=?,location=?,mops=????????????????,matrix=?) > > > What are you passing as the 4th positional arg > > > ^^^^^^^^^^^^^^^^^^^^^^^ ??? > > > > This is wholly unnecessary. > > > > -- Theerasak > > > What is wholly unnecessary? -- http://mail.python.org/mailman/listinfo/python-list