[Zope] using getProperty and catching Unauthorized
Skip Montanaro
skip@pobox.com
Fri, 25 Oct 2002 15:11:43 -0500
Florent> Aaaaaaaaah so that's why! Thanks for the explanation, I didn't
Florent> know of this subtlety. Do you know if Guido will always keep it
Florent> that way BTW?
Most likely. The "no space" constraint means that identifiers in your
programs get interned, but the interpreter doesn't waste resources interning
long stuff like doc strings which wouldn't improve performance. In general
you should only use "is" when you know you're dealing with a singleton like
None.
--
Skip Montanaro - skip@pobox.com
http://www.mojam.com/
http://www.musi-cal.com/