[Zope3-dev] Nasty bugs

Steve Alexander steve@cat-box.net
Wed, 20 Mar 2002 16:39:33 +0000


Steve Alexander wrote:
>
> What does code typically compare by identity? Here's the ones I can 
> think of:
> 
>  * Things the code has itself created
> 
>  * Classes / types
> 
>  * None
> 
>  * Small integers
> 
>  * The empty tuple
> 
> 
> The only one of those that is mutable that we might need to worry about 
> is "Classes / types".

I forgot to add: module-level globals such as symbolic constants.

--
Steve Alexander