[Zope-dev] I need more eyes

Pavlos Christoforou pavlos@gaaros.msrc.sunysb.edu
Thu, 15 Apr 1999 12:39:15 -0400 (EDT)


On Wed, 14 Apr 1999, Mike Pelletier wrote:

> 
> >>> print list[0].user == user
> 0
> >>> print list[0].user != user
> 1
> 
>     Python, however, disagrees!  How can two objects occupy the same location
> in memory, and not be judged equal by Python?  The class of the object

Weird. My guess is that one form returns the object wrapped in an
acquisition wrapper and the other does not. However their __str__ or
__repr__ methods return the base object address.

Pavlos