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