[Edu-sig] quantum instance

Arthur ajsiegel at optonline.net
Sun Sep 18 02:25:49 CEST 2005



> -----Original Message-----
> From: Kirby Urner [mailto:urnerk at qwest.net]
> Sent: Saturday, September 17, 2005 7:41 PM
> To: 'Arthur'; edu-sig at python.org
> Subject: RE: [Edu-sig] quantum instance
> 
> 
> Let's not continue until we figure out why this isn't working for you.

My version works something like this (though this is admittedly a slightly
simplified version):

>>If type(attribute)=='set by assignment' _ 
  and (needs(setting) or needs (getting)) =='something unusual':
       see if property function might help
  else:
       forget property function exists

Your Python version  - from what I can see - works different.  

Art




 

  




More information about the Edu-sig mailing list