Question about isinstance()

bruno at modulix onurb at xiludom.gro
Fri Jan 27 05:08:20 EST 2006


bruno at modulix wrote:
> Dave Benjamin wrote:
> (snip)
> 
> 
>>You *could* have "b.__eq__" just call "a.__eq__", 
> 
> 
> Which could lead to strange results (well, actually a good ole infinite
> recursion) if b.__eq__ happens to call b.__eq__ too !-)

I meant:

'if a.__eq__ happens to call b.__eq__ too'

of course...



-- 
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'onurb at xiludom.gro'.split('@')])"



More information about the Python-list mailing list