__init__ is the initialiser

Roy Smith roy at panix.com
Mon Feb 3 00:12:45 EST 2014


In article <mailman.6325.1391403799.18130.python-list at python.org>,
 Dave Angel <davea at davea.name> wrote:
> Skip Montanaro <skip at pobox.com> Wrote in message:
> > On Sun, Feb 2, 2014 at 9:14 PM, Dave Angel <davea at davea.name> wrote:
> >> And when the q-bits get entangled up, we won't know the question
> >> till after the answer has collapsed.
> > 
> > Won't looking at the answer change it?
> > 
>> No, looking at it is what collapses it. Before that it was just
> another Schroedinger's cat

So, what you're saying is when I delete an object, __del__() has both 
been called and not been called?


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /