[Edu-sig] Fw: [Visualpython-users] Advice?

Kirby Urner pdx4d@teleport.com
Sat, 09 Jun 2001 07:21:33 -0700


At 10:06 AM 6/9/2001 -0400, you wrote:
>Can anyone here help Bruce with this??
>

Interesting.  Plain 'ol simple objects don't have this 
problem in 2.1  -- something special about these convex 
objects?

 >>> class Test:
 	 def __init__(self,value):
	     self.color = value

 >>> type(d)
 <type 'array'>	    
 >>> j = Test(d)
 >>> j.color
 array([ 0.1,  0.2,  0.3])
 >>> j.color = p.color
 >>> j.color
 array([ 1.,  1.,  1.])

Kirby