RE: Installing Python 3.2.3 on Win 7

2012-08-16 Thread Tommi Helander
Hi Johan, -Are you trying to install 32 or 64-bit Python? -Is your Win7 32 or 64-bits? -Have you tried running the Python installer from the command line to see if it generates any helpful output? -Tommi Helander > Date: Thu, 16 Aug 2012 09:17:43 +0200 > Subject: Installing Python 3.2.3

Re: Looking for assignement operator

2006-10-20 Thread Tommi
Bruno Desthuilliers wrote: > (please don't top-post - corrected) (sorry) > How could it help ? To me they just looked a bit alike: --- op's example --- a = MyInt(10) # Here i need to overwrite the assignement operator a = 12 --- traits' example --- moe = Child() # NOTIFICATION in action moe

Re: Looking for assignement operator

2006-10-18 Thread Tommi
Could the "traits" package be of help? http://code.enthought.com/traits/ Alexander Eisenhuth wrote: > Hello, > > is there a assignement operator, that i can overwrite? > > class MyInt: > def __init__(self, val): > assert(isinstance(val, int)) > self._val = val